Commit 61677623 authored by zzg_666's avatar zzg_666
Browse files

update

parent 19261cee
FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.3.0-ubuntu22.04-dtk24.04.3-py3.10 FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.5.1-ubuntu22.04-dtk25.04.2-py3.10
\ No newline at end of file
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
### Docker(方法一) ### Docker(方法一)
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.3.0-ubuntu22.04-dtk24.04.3-py3.10 docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.5.1-ubuntu22.04-dtk25.04.2-py3.10
docker run --shm-size 100g --network=host --name=hunyuanvideo_i2v --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 100g --network=host --name=hunyuanvideo_i2v --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
...@@ -53,17 +53,12 @@ ...@@ -53,17 +53,12 @@
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装: https://developer.sourcefind.cn/tool/ 1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装: https://developer.sourcefind.cn/tool/
``` ```
DTK驱动:dtk24.04.3 DTK驱动:dtk25.04.2
python:python3.10 python:python3.10
torch:2.3.0 torch:2.5.1
torchvision:0.18.1 torchvision:0.20.1
torchaudio:2.1.2 apex:1.5.0
triton:2.1.0 transformers:4.39.3
flash-attn:2.6.1
deepspeed:0.14.2
apex:1.3.0
xformers:0.0.25
transformers:4.48.0
``` ```
2、其他非特殊库直接按照requirements.txt安装 2、其他非特殊库直接按照requirements.txt安装
...@@ -183,7 +178,7 @@ python3 sample_image2video.py \ ...@@ -183,7 +178,7 @@ python3 sample_image2video.py \
### 精度 ### 精度
DCU与GPU精度一致,推理框架:transformers。
## 应用场景 ## 应用场景
......
This diff is collapsed.
#!/bin/bash #!/bin/bash
cp modified/config.py /usr/local/lib/python3.10/site-packages/xfuser/config/ cp modified/config.py /usr/local/lib/python3.10/dist-packages/xfuser/config/
cp modified/envs.py /usr/local/lib/python3.10/site-packages/xfuser/ cp modified/envs.py /usr/local/lib/python3.10/dist-packages/xfuser/
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