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,30 +189,7 @@ cd DiffSynth-Studio
pip install -e .
```
**AMD ROCm Users:**
To ensure the correct PyTorch version for ROCm is installed, please use the dedicated requirements file:
```
git clone https://github.com/modelscope/DiffSynth-Studio.git
cd DiffSynth-Studio
pip install -r requirements-amd.txt
```
<details>
<summary>Other installation methods</summary>
Install from PyPI (version updates may be delayed; for latest features, install from source)
```
pip install diffsynth
```
If you meet problems during installation, they might be caused by upstream dependencies. Please check the docs of these packages:
* [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)
For more installation methods and instructions for non-NVIDIA GPUs, please refer to the [Installation Guide](/docs/en/Pipeline_Usage/Setup.md).
</details>