amd support (#607)

* amd support

* amd support
This commit is contained in:
lllyasviel
2023-10-09 15:47:46 -07:00
committed by GitHub
parent 7cbfb1bc2c
commit 0a2c1c4cbf
5 changed files with 37 additions and 17 deletions
+12 -1
View File
@@ -169,7 +169,18 @@ Same with the above instructions. You need to change torch to AMD version
AMD is not intensively tested, however.
### Mac/Windows(AMD GPUs)
### Windows(AMD GPUs)
Same with Windows. Download the software, edit the content of `run.bat` as:
.\python_embeded\python.exe -m pip uninstall torch torchvision torchaudio torchtext functorch xformers -y
.\python_embeded\python.exe -m pip install torch-directml
.\python_embeded\python.exe -s Fooocus\entry_with_update.py --directml
pause
Then run the `run.bat`.
### Mac
Coming soon ...