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
ModelZoo
Qwen_lmdeploy
Commits
11b381af
Commit
11b381af
authored
Aug 21, 2024
by
xuxzh1
🎱
Browse files
Merge branch 'v1.4' into 'master'
update readme See merge request
!4
parents
cf695e9a
173e6dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
README.md
README.md
+6
-1
No files found.
README.md
View file @
11b381af
...
...
@@ -27,7 +27,8 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dt
# <Image ID>用上面拉取docker镜像的ID替换
# <Host Path>主机端路径
# <Container Path>容器映射路径
docker run
-it
--network
=
host
--name
=
qwen_lmdeploy
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--ipc
=
host
--shm-size
=
1024G
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-u
root
--ulimit
stack
=
-1
:-1
--ulimit
memlock
=
-1
:-1
-v
<Host Path>:<Container Path> <Image ID> /bin/bash
docker run
-it
--network
=
host
--name
=
qwen_lmdeploy
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--ipc
=
host
--shm-size
=
1024G
--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
<Host Path>:<Container Path> <Image ID> /bin/bash
```
镜像版本依赖:
*
DTK驱动:24.04.1
...
...
@@ -66,6 +67,10 @@ SCNet模型下载
### 运行前
```
bash
#step 1
cd
lmdeploy
pip
install
-r
requirements.txt
-i
https://pypi.tuna.tsinghua.edu.cn/simple
#step 2
source
/opt/dtk/cuda/env.sh
```
...
...
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