Commit 8f32e97d authored by dcuai's avatar dcuai
Browse files

Update dtk24.04.1镜像

parent e3220738
...@@ -24,14 +24,10 @@ ...@@ -24,14 +24,10 @@
### Docker(方法一) ### Docker(方法一)
docker pull image.sourcefind.cn:5000/dcu/admin/base/dtk:23.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=ad_lightning --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 <your IMAGE ID> bash docker run --shm-size 10g --network=host --name=ad_lightning --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 <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
git clone https://github.com/comfyanonymous/ComfyUI.git git clone https://github.com/comfyanonymous/ComfyUI.git
...@@ -55,10 +51,6 @@ ...@@ -55,10 +51,6 @@
docker run --shm-size 10g --network=host --name=ad_lightning --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 <your IMAGE ID> bash docker run --shm-size 10g --network=host --name=ad_lightning --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 <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
git clone https://github.com/comfyanonymous/ComfyUI.git git clone https://github.com/comfyanonymous/ComfyUI.git
...@@ -79,7 +71,7 @@ ...@@ -79,7 +71,7 @@
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装: 1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装:
https://developer.hpccube.com/tool/ https://developer.hpccube.com/tool/
DTK驱动:dtk23.10.1 DTK驱动:dtk24.04.1
python:python3.10 python:python3.10
torch:2.1.0 torch:2.1.0
torchvision:0.16.0 torchvision:0.16.0
...@@ -88,10 +80,6 @@ Tips:以上dtk驱动、python、torch等DCU相关工具版本需要严格一 ...@@ -88,10 +80,6 @@ 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
git clone https://github.com/comfyanonymous/ComfyUI.git git clone https://github.com/comfyanonymous/ComfyUI.git
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment