# qwen2.5-vl 

## 环境搭建

```
docker run -dit --network=host --name=qwen25_vl --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=128G  --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 -v /opt/hyhal:/opt/hyhal:ro -v /public/opendas/DL_DATA/llm-models/:/models:ro  harbor.sourcefind.cn:5443/dcu/admin/base/pytorch:2.5.1-ubuntu22.04-dtk25.04.2-py3.10

git clone -b core_v0.12.0 --recurse-submodules http://10.16.6.30/dcutoolkit/deeplearing/dcu_megatron.git

cd dcu_megatron-core_v0.12.0/
python setup.py install

cd ./llama-factory
pip install -r requirements.txt
```

## 执行qwen2.5-vl 7b

```
#修改model_name_or_path 为自己的模型路径
vi examples/train_full/qwen2_5vl_full_sft.yaml
#执行模型
bash start_qwen2.5vl.sh
```



