mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Added better instructions for nvidia.
This commit is contained in:
parent
21eb33f233
commit
9fa1827906
16
README.md
16
README.md
@ -20,11 +20,23 @@ At the time of writing this pytorch has issues with python versions higher than
|
|||||||
### AMD
|
### AMD
|
||||||
AMD users can install rocm and pytorch with pip if you don't have it already installed:
|
AMD users can install rocm and pytorch with pip if you don't have it already installed:
|
||||||
|
|
||||||
```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2"```
|
```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2```
|
||||||
|
|
||||||
### NVIDIA
|
### NVIDIA
|
||||||
|
|
||||||
Nvidia users should install Xformers.
|
Nvidia users should install torch using this command:
|
||||||
|
|
||||||
|
```pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117```
|
||||||
|
|
||||||
|
Nvidia users should also install Xformers for a speed boost but can still run the software without it.
|
||||||
|
|
||||||
|
#### Troubleshooting
|
||||||
|
|
||||||
|
If you get the "Torch not compiled with CUDA enabled" error, uninstall torch with:
|
||||||
|
|
||||||
|
```pip uninstall torch```
|
||||||
|
|
||||||
|
And install it again with the command above.
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user