update AMD GPU support

This commit is contained in:
Artiprocher
2025-12-15 14:30:13 +08:00
parent 5da9611a74
commit 5821a664a0
5 changed files with 54 additions and 63 deletions

View File

@@ -189,31 +189,7 @@ cd DiffSynth-Studio
pip install -e .
```
**AMD ROCm 用户:**
为了确保安装适用于 ROCm 的正确 PyTorch 版本,请使用专用的依赖文件:
```
git clone https://github.com/modelscope/DiffSynth-Studio.git
cd DiffSynth-Studio
pip install -r requirements-amd.txt
```
<details>
<summary>其他安装方式</summary>
从 pypi 安装(存在版本更新延迟,如需使用最新功能,请从源码安装)
```
pip install diffsynth
```
如果在安装过程中遇到问题,可能是由上游依赖包导致的,请参考这些包的文档:
* [torch](https://pytorch.org/get-started/locally/)
* [sentencepiece](https://github.com/google/sentencepiece)
* [cmake](https://cmake.org)
* [cupy](https://docs.cupy.dev/en/stable/install.html)
更多安装方式,以及非 NVIDIA GPU 的安装,请参考[安装文档](/docs/zh/Pipeline_Usage/Setup.md)。
</details>