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
magic-animate_pytorch
Commits
80b90e0a
Commit
80b90e0a
authored
Aug 31, 2024
by
shantf
Browse files
update README.md
parent
94428cd3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
Dockerfile
Dockerfile
+1
-1
README.md
README.md
+10
-10
requirements.txt
requirements.txt
+1
-1
No files found.
Dockerfile
View file @
80b90e0a
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04.1-py3
9-latest
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04.1-py3
.10
README.md
View file @
80b90e0a
...
...
@@ -31,8 +31,8 @@
### Docker(方法一)
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04.1-py3
9-latest
docker run --shm-size 10g --network=host --name=magic_animate --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v 项目地址(绝对路径):/home/ -
it <your IMAGE ID>
bash
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04.1-py3
.10
docker run --shm-size 10g --network=host --name=magic_animate --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 image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
bash
pip install -r requirements.txt
### Docker(方法二)
...
...
@@ -40,20 +40,20 @@
# 需要在对应的目录下
docker build -t <IMAGE_NAME>:<TAG> .
# <your IMAGE ID>用以上拉取的docker的镜像ID替换
docker run -it --shm-size 10g --network=host --name=magic_animate --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined <your IMAGE ID> bash
docker run -it --shm-size 10g --network=host --name=magic_animate --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE
-v /opt/hyhal:/opt/hyhal:ro
--security-opt seccomp=unconfined <your IMAGE ID> bash
pip install -r requirements.txt
### Anaconda (方法三)
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
https://developer.hpccube.com/tool/
DTK驱动:dtk2
3
.04.1
python:python3.
9
torch:
1
.1
3.1
torchvision:0.1
4.1
torchaudio:
0
.1
3.1
deepspeed:0.
9.2
apex:
0
.1
DTK驱动:dtk2
4
.04.1
python:python3.
10
torch:
2
.1
.0
torchvision:0.1
6.0
torchaudio:
2
.1
.2
deepspeed:0.
12.3
apex:
1
.1
.0
Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一对应
...
...
requirements.txt
View file @
80b90e0a
torch
==1.13.1
#
torch==1.13.1
absl-py
accelerate
aiofiles
...
...
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