Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Lmdeploy
Commits
140d8dad
Commit
140d8dad
authored
Dec 11, 2023
by
xiabo
Browse files
Update README.md
parent
9ef5182e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
140d8dad
...
@@ -40,7 +40,9 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:lmdeploy-dtk23.10-tor
...
@@ -40,7 +40,9 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:lmdeploy-dtk23.10-tor
docker run -it --name baichuan --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host -v /opt/hyhal:/opt/hyhal --group-add video -v <Host Path>:<Container Path> <Image ID> /bin/bash
docker run -it --name baichuan --shm-size=1024G --device=/dev/kfd --device=/dev/dri/ --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host -v /opt/hyhal:/opt/hyhal --group-add video -v <Host Path>:<Container Path> <Image ID> /bin/bash
```
```
注:
注:
1、docker的启动-v /opt/hyhal:/opt/hyhal 这个变量不能少
1、docker的启动-v /opt/hyhal:/opt/hyhal 这个变量不能少
2、要是非光源提供镜像,配置环境:(若安装过慢,可以添加源:pip3 install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/)
2、要是非光源提供镜像,配置环境:(若安装过慢,可以添加源:pip3 install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/)
```
```
pip3 install -r requirements.txt
pip3 install -r requirements.txt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment