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
Latte_pytorch
Commits
dda8a17b
Commit
dda8a17b
authored
Sep 09, 2024
by
mashun1
Browse files
Update README.md
parent
dc37d5d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
README.md
README.md
+5
-14
No files found.
README.md
View file @
dda8a17b
...
@@ -22,17 +22,15 @@
...
@@ -22,17 +22,15 @@
### Docker(方法一)
### Docker(方法一)
docker pull image.sourcefind.cn:5000/dcu/admin/base/
dtk
:2
3
.10-ubuntu20.04-py310
docker pull image.sourcefind.cn:5000/dcu/admin/base/
pytorch
:2.1
.
0-ubuntu20.04-
dtk24.04.1-
py3
.
10
docker run --shm-size 10g --network=host --name=latte --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal -v 项目地址(绝对路径):/home/ -it <your IMAGE ID> bash
docker run --shm-size 10g --network=host --name=latte --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal -v 项目地址(绝对路径):/home/ -it <your IMAGE ID> bash
pip install torch-2.1.0a0%2Bgit793d2b5.abi0.dtk2310-cp310-cp310-manylinux2014_x86_64.whl (whl.zip文件中)
pip install torchvision-0.16.0+git267eff6.abi0.dtk2310.torch2.1.0-cp310-cp310-linux_x86_64.whl (whl.zip文件中)
pip install -r requirements.txt
pip install -r requirements.txt
pip install timm --no-deps
pip install timm --no-deps
pip uninstall apex
### Dockerfile(方法二)
### Dockerfile(方法二)
# 需要在对应的目录下
# 需要在对应的目录下
...
@@ -40,29 +38,22 @@
...
@@ -40,29 +38,22 @@
docker run --shm-size 10g --network=host --name=latte --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal -v 项目地址(绝对路径):/home/ -it <your IMAGE ID> bash
docker run --shm-size 10g --network=host --name=latte --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal -v 项目地址(绝对路径):/home/ -it <your IMAGE ID> bash
pip install torch-2.1.0a0%2Bgit793d2b5.abi0.dtk2310-cp310-cp310-manylinux2014_x86_64.whl (whl.zip文件中)
pip install torchvision-0.16.0+git267eff6.abi0.dtk2310.torch2.1.0-cp310-cp310-linux_x86_64.whl (whl.zip文件中)
pip install -r requirements.txt
pip install -r requirements.txt
pip install timm --no-deps
pip install timm --no-deps
pip uninstall apex
### Anaconda (方法三)
### Anaconda (方法三)
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
https://developer.hpccube.com/tool/
https://developer.hpccube.com/tool/
DTK驱动: dtk2
3.10
DTK驱动: dtk2
4.04.1
python: python3.10
python: python3.10
Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一对应
Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一一对应
2、其它非特殊库参照requirements.txt安装
2、其它非特殊库参照requirements.txt安装
pip install torch-2.1.0a0%2Bgit793d2b5.abi0.dtk2310-cp310-cp310-manylinux2014_x86_64.whl (whl.zip文件中)
pip install torchvision-0.16.0+git267eff6.abi0.dtk2310.torch2.1.0-cp310-cp310-linux_x86_64.whl (whl.zip文件中)
pip install -r requirements.txt
pip install -r requirements.txt
pip install timm --no-deps
pip install timm --no-deps
...
...
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