AMD/ROCm support #371
Replies: 3 comments 1 reply
-
Instead of The integration works fine with ROCm though outside of memory measurement being skipped, which is a pretty low-priority feature (and it might even be a small performance gain to skip that code anyway 🤐 ) |
Beta Was this translation helpful? Give feedback.
-
This should be able to be integrated by having a choice to use an alternative environment.yaml file for conda to use, with the following differences. Around line 8, comment out the following lines:
Around line 13, right under the beginning of the "pip:" subsection, insert the following lines:
I was experimenting with the installation process a few days ago and wrote a version of environment.yaml which makes these changes (This one doesn't contain the GUI-related packages like gradio though). I presume the installer could ask the user which GPU type to use, and use the corresponding environment.yaml file. |
Beta Was this translation helpful? Give feedback.
-
Hello Me too 5600xt, cant work on ubuntu ,GPU100% use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is both a request for better integration and a report that it mostly on my RX 5600xt (6 GB VRAM) on Linux.
Two special steps are necessary:
--upgrade
part must be added manually)HSA_OVERRIDE_GFX_VERSION=10.3.0 python scripts/webui.py
in relauncher.py. This is not required for AMD GPUs that have official rocm support.This also required me to use optimized mode and
--precision full --no-half
as mentioned on this wiki page.One thing that doesn't work is the CUDA memory measurement, but that is not a deal breaker. Perhaps something like rocm-smi can be used to measure memory usage.
Beta Was this translation helpful? Give feedback.
All reactions