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
laibao
Qwen2.5_vllm
Commits
ffb20103
Commit
ffb20103
authored
Jun 12, 2024
by
zhuwenwen
Browse files
update imgs
parent
b51171e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
Dockerfile
Dockerfile
+2
-3
README.md
README.md
+2
-5
No files found.
Dockerfile
View file @
ffb20103
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-centos7.6-dtk24.04-py310
FROM
image.sourcefind.cn:5000/dcu/admin/base/custom:vllm0.3.3-dtk24.04-centos7.6-py310-v1
ENV
LANG C.UTF-8
ENV
LANG C.UTF-8
RUN
pip
install
ray
==
2.9.1 tiktoken
aiohttp
==
3.9.1
outlines
==
0.0.37
openai
==
1.23.3
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\ No newline at end of file
\ No newline at end of file
README.md
View file @
ffb20103
...
@@ -27,14 +27,11 @@ Qwen1.5是阿里云开源大型语言模型系列,是Qwen2.0的beta版本。
...
@@ -27,14 +27,11 @@ Qwen1.5是阿里云开源大型语言模型系列,是Qwen2.0的beta版本。
提供
[
光源
](
https://www.sourcefind.cn/#/image/dcu/custom
)
拉取推理的docker镜像:
提供
[
光源
](
https://www.sourcefind.cn/#/image/dcu/custom
)
拉取推理的docker镜像:
```
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/
pytorch:2.1
.0-centos7.6-
dtk24.04-
py310
docker pull image.sourcefind.cn:5000/dcu/admin/base/
custom:vllm0.3.3-dtk24
.0
4
-centos7.6-py310
-v1
# <Image ID>用上面拉取docker镜像的ID替换
# <Image ID>用上面拉取docker镜像的ID替换
# <Host Path>主机端路径
# <Host Path>主机端路径
# <Container Path>容器映射路径
# <Container Path>容器映射路径
docker run -it --name qwen1.5_vllm --privileged --shm-size=64G --device=/dev/kfd --device=/dev/dri/ --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal -v <Host Path>:<Container Path> <Image ID> /bin/bash
docker run -it --name qwen1.5_vllm --privileged --shm-size=64G --device=/dev/kfd --device=/dev/dri/ --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video -v /opt/hyhal:/opt/hyhal -v <Host Path>:<Container Path> <Image ID> /bin/bash
# 更新镜像的ray版本和服务依赖
pip install ray==2.9.1 tiktoken aiohttp==3.9.1 outlines==0.0.37 openai==1.23.3
```
```
### Dockerfile(方法二)
### Dockerfile(方法二)
...
@@ -48,7 +45,7 @@ docker run -it --name qwen1.5_vllm --privileged --shm-size=64G --device=/dev/kf
...
@@ -48,7 +45,7 @@ docker run -it --name qwen1.5_vllm --privileged --shm-size=64G --device=/dev/kf
### Anaconda(方法三)
### Anaconda(方法三)
```
```
conda create -n qwen1.5_vllm python=3.10
conda create -n qwen1.5_vllm python=3.10
pip install
ray==2.9.1 tiktoken
aiohttp==3.9.1 outlines==0.0.37 openai==1.23.3
pip install aiohttp==3.9.1 outlines==0.0.37 openai==1.23.3
```
```
关于本项目DCU显卡所需的特殊深度学习库可从
[
光合
](
https://developer.hpccube.com/tool/
)
开发者社区下载安装。
关于本项目DCU显卡所需的特殊深度学习库可从
[
光合
](
https://developer.hpccube.com/tool/
)
开发者社区下载安装。
*
DTK驱动:dtk24.04
*
DTK驱动:dtk24.04
...
...
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