1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 09:10:25 +08:00

doc: update instructions for ROCM (#106)

This commit is contained in:
Jax Leo
2025-01-29 13:46:08 +08:00
committed by GitHub
parent b0552625f7
commit 78dfad6cba
5 changed files with 245 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ pip install torch torchvision torchaudio
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
# Pour Linux + carte AMD, utilisez cette version de Pytorch:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2
```
Vous pouvez utiliser poetry pour installer les dépendances :
@@ -142,6 +142,10 @@ Vous devrez peut-être créer ces variables d'environnement (par exemple avec RX
export ROCM_PATH=/opt/rocm
export HSA_OVERRIDE_GFX_VERSION=10.3.0
````
Et remplacer PyTorch par sa version ROCM après l'installation des dépendances.
````
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2
````
Assurez-vous que votre utilisateur est dans les groupes `render` et `video`:
````
sudo usermod -aG render $USERNAME