Hello,
I’ve been having trouble getting Stable Diffusion to run on Arch. I bought a 7900 XTX a couple weeks ago to get away from NVIDIA, one thing I really liked to do was mess around in Stable Diffusion, but for some reason I can’t seem to get it working. I followed the guide on their page, but I think it may be outdated:
When I do ‘pip install -r requirements.txt’, it fails halfway through installing:
https://paste.debian.net/1317412
Not sure what to do from here, any help is appreciated!
The problem, I believe, is that stable diffusion presently only supports Python 3.10, but Arch ships 3.12, and some of the dependencies aren’t compatible with the newer version. Here’s what I did to get it working on Arch + AMD 7800XT GPU.
python3.10 -m venv venv
(in stable diffusion root directory)This should be enough for the dependencies to install correctly. To get GPU acceleration to work, I also had to add this environment variable:
HSA_OVERRIDE_GFX_VERSION=11.0.0
(Not sure if this is needed or if the value is same for 7900 XTX)I had python problems on Fedora and Nvidia. In addition to installing python 3.10, I needed to change the python command in webui.sh from python to python3.10