Nothing Happens after clicking generate button (5700XT/Linux) #11218
Unanswered
hereforsd5700
asked this question in
Q&A
Replies: 1 comment
-
Pytorch compiled with rocm5.4.2 won't work on 5700. You need There is also a way to get torch2.1 working with rx5700, this should work with a1111 if you download torch and torchvision and point TORCH_COMMAND to local files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
GPU: RX 5700 XT
OS 1: Ubuntu 23.04 (Kubuntu/KDE flavour)
OS 2: Windows 10 LTSC
Python: 3.11.2 (comes bundled with Ubuntu)
My system is a dual-boot system and I have gotten lshqqytiger's DirectML fork working on Windows 10. So I decided to give a try to ROCm.
What I have done so far:
With multiple troubleshooting attempts, I managed to get the UI working in Ubuntu. Which involved:
PATH=$PATH:/usr/sbin
export COMMANDLINE_ARGS="--precision full --no-half --medvram"
export TORCH_COMMAND="pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2"
Installed drivers from AMD repo: amdgpu-install_5.3.50300-1_all.deb
Gave chmod 777 permission to webui.sh and webui-user.sh
Gave myself permissions to render and video
sudo usermod -a -G render
sudo usermod -a -G video
Arguments: --precision full --no-half --medvram
The models currently in Stable-diffusion directory are: v1-5-pruned-emaonly.safetensors and reliberate_v10.safetensors
What happens:
When I execute webui.sh, console shows this:
After this I open the UI in Firefox, gave a short prompt, and hit generate. Nothing happens. I've waited for 10-15 minutes, but nothing in the UI or the console. No progress bars or anything.
However my GPU usage goes up so something is happening, but I don't know what.
(Screenshot:
)
After waiting for 10-15 minutes I terminate the sh and it gives me this:
^CInterrupted with signal 2 in <frame at 0x7efe43d651c0, file '/usr/lib/python3.11/threading.py', line 324, code wait>
And GPU usage drops to normal.
In case you're wondering, the screenshots are from a monitoring utility called RandR
Any help would be great. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions