"vscode:/vscode.git/clone" did not exist on "9e5ce968549835c2ca1db2ca725687f381321b6a"
Commit 527ca48b authored by wanglch's avatar wanglch
Browse files

Update README.md

parent 6d92ee4b
...@@ -40,12 +40,11 @@ Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一 ...@@ -40,12 +40,11 @@ Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一
### Dockerfile(方法二) ### Dockerfile(方法二)
此处提供dockerfile的使用方法 此处提供dockerfile的使用方法
``` ```
git clone http://developer.sourcefind.cn/codes/modelzoo/minicpm-v-2_6_pytorch.git
docker build -t internvl:latest . docker build -t internvl:latest .
docker run --shm-size 500g --network=host --name=minicpm_v --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v 项目地址(绝对路径):/home/ -v /opt/hyhal:/opt/hyhal:ro -it <your IMAGE ID> bash docker run --shm-size 500g --network=host --name=minicpm_v --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v 项目地址(绝对路径):/home/ -v /opt/hyhal:/opt/hyhal:ro -it <your IMAGE ID> bash
git clone http://developer.sourcefind.cn/codes/modelzoo/minicpm-v-2_6_pytorch.git
cd /path/your_code_data/ cd /path/your_code_data/
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment