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_pytorch
Commits
366690ee
Commit
366690ee
authored
Aug 30, 2024
by
dcuai
Browse files
Update README.md
parent
e33e0bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
README.md
README.md
+7
-6
No files found.
README.md
View file @
366690ee
...
@@ -31,9 +31,9 @@ https://arxiv.org/pdf/2308.12966.pdf
...
@@ -31,9 +31,9 @@ https://arxiv.org/pdf/2308.12966.pdf
推荐使用docker方式运行,提供
[
光源
](
https://www.sourcefind.cn/#/main-page
)
拉取的docker镜像:
推荐使用docker方式运行,提供
[
光源
](
https://www.sourcefind.cn/#/main-page
)
拉取的docker镜像:
```
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04-py3
9-latest
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04
.1
-py3
.10
docker run -dit --network=host --name=qwen_pytorch --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04-py3
9-latest
docker run -dit --network=host --name=qwen_pytorch
-v /opt/hyhal:/opt/hyhal:ro
--privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04
.1
-py3
.10
docker exec -it qwen_pytorch /bin/bash
docker exec -it qwen_pytorch /bin/bash
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
```
```
...
@@ -42,7 +42,7 @@ pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --t
...
@@ -42,7 +42,7 @@ pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --t
```
```
docker build -t qwen:latest .
docker build -t qwen:latest .
docker run -dit --network=host --name=qwen_pytorch --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 qwen:latest
docker run -dit --network=host --name=qwen_pytorch
-v /opt/hyhal:/opt/hyhal:ro
--privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root --ulimit stack=-1:-1 --ulimit memlock=-1:-1 qwen:latest
docker exec -it qwen_pytorch /bin/bash
docker exec -it qwen_pytorch /bin/bash
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
```
```
...
@@ -50,13 +50,14 @@ pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --t
...
@@ -50,13 +50,14 @@ pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --t
### conda(方式三)
### conda(方式三)
```
```
conda create -n qwen python=3.
9
conda create -n qwen python=3.
10
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
```
```
[
torch1.13-dtk23.04
](
https://cancon.hpccube.com:65024/directlink/4/pytorch/dtk23.04/torch-1.13.1+git55d300e.abi0.dtk2304-cp39-cp39-manylinux2014_x86_64.whl
)
[
deepspeed0.9.2-dtk23.04
](
https://cancon.hpccube.com:65024/directlink/4/deepspeed/dtk23.04/deepspeed-0.9.2+git25d5540.abi0.dtk2304.torch1.13.1-cp39-cp39-manylinux2014_x86_64.whl
)
[
torch2.1.0-dtk24.04.1
](
https://cancon.hpccube.com:65024/directlink/4/pytorch/DAS1.1/torch-2.1.0+das1.1.git3ac1bdd.abi1.dtk2404-cp310-cp310-manylinux_2_31_x86_64.whl
)
[
deepspeed0.12.3-dtk24.04.1
](
https://cancon.hpccube.com:65024/directlink/4/deepspeed/DAS1.1/deepspeed-0.12.3+gita724046.abi1.dtk2404.torch2.1.0-cp310-cp310-manylinux_2_31_x86_64.whl
)
Tips:以上dtk驱动、python、deepspeed等工具版本需要严格一一对应。
Tips:以上dtk驱动、python、deepspeed等工具版本需要严格一一对应。
...
...
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