stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Don't start in RX 7600 (Linux)
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Without set HSA_OVERRIDE_GFX_VERSION=11.0.0, this program doesn't start on my RX 7600.
I could solve this adding this variable, then I suggest to add this in webui.sh
Steps to reproduce the problem
bash webui.sh
What should have happened?
Missing setting HSA_OVERRIDE_GFX_VERSION=11.0.0 in source code conditionals of webui.sh.
Version or Commit where the problem happens
1.5.1
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Linux
What device are you running WebUI on?
AMD GPUs (RX 6000 above)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
`HSA_OVERRIDE_GFX_VERSION=11.0.0 bash webui.sh` to solve this problem.
List of extensions
None
Console logs
Irrelevant information, because I solved the problem with the environment variable that they forgot to export in the code.
Additional information
I think this bug report didn't need so many fields.
so,you can run with override command?
can you join my AIT test?it can provide 170% speed
@Boom-Hacker
Yep, I can assure you that with HSA override this works perfectly.
Without HSA override, the server crashes due to segfaut.
Regarding "AIT test", I will not cooperate, as I don't know you and I have no reference as to who you are, but assuming good intentions, I thank you in the same way.
nothing
@Boom-Hacker
Yep, I can assure you that with HSA override this works perfectly.
Without HSA override, the server crashes due to segfaut.
Regarding "AIT test", I will not cooperate, as I don't know you and I have no reference as to who you are, but assuming good intentions, I thank you in the same way.
what did you do?i can't start
what did you do?i can't start
I got it working successfully with this command:
HSA_OVERRIDE_GFX_VERSION=11.0.0 webui.sh
You also can, in another alternative, export HSA_OVERRIDE_GFX_VERSION=11.0.0 to environment variables.
what rocm and pytorch version?i stuck on Creating model from config: /home/beforespace/stable-diffusion-webui/configs/v1-inference.yaml
Traceback (most recent call last):
File "/home/beforespace/RX7600/sd/venv/lib/python3.11/site-packages/diffusers/utils/import_utils.py", line 684, in _get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/beforespace/RX7600/sd/test.py", line 2, in
what rocm and pytorch version?i stuck on Creating model from config: /home/beforespace/stable-diffusion-webui/configs/v1-inference.yaml
From what I read in the webui.sh source code, the Torch version for Navi 3 is this:
https://download.pytorch.org/whl/nightly/rocm5.6
i tested,no effect
i think is about pytorch 2.2 update?