Troubleshooting AMD GPU 6700XT #9606
Cabbage-Eyes
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone. I have spent about a week getting this to work on my Win11 AMD 6700XT PC, and because information is so scattered, I wanted to list the major hurdles and how I overcame them. Perhaps this can help others in the future.
I started this adventure with nod-ai/SHARK but ultimately found that program annoying to use with my AMD GPU. Any changes to output size or model would force it to optimize something, I am not sure, what I do know is it would often leave me sitting there for 5 minuets waiting for it to finish. It would also seem to make duplicate files and the folder got to 100GB before I pulled the plug on it. It also would fail to load some models into inpaint and just generally get mad at me or crash. I fully admit I may not have been using it correctly, but thats my experience so I moved on.
I moved onto this program and ran into a couple snags. Overall the install is super easy and is outlined well here:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs
I tried installing in normal cmd terminal, and that doesn't work for me. Right clicking in the folder and selecting "git terminal here" or something along those lines and pasting the code there works like a charm.
After install I was pleasantly surprised it just worked and didn't make me wait 10 min to do...something. But then I noticed that this fellow was kinda slow, slower than SHARK when it was working. Something like 3-5s/IT which is terribly slow. In addition the inpaint would just show a grey blur wherever I put the mask, no matter what settings or nobs I turned. Both of these issues where solved by adding arguments to the "set COMMANDLINE_ARGS=" section of the "webui-user.bat" file in the main directory, the end result being:
set COMMANDLINE_ARGS=--no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1 --autostart
You can remove autostart if you don't want it to...uh..autostart; thats the only one I added from the link below.
Credit to fix: https://www.reddit.com/r/StableDiffusion/comments/11el6jm/having_problems_inpainting_with_automatic1111/
List of arguments: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations
This fixed both the speed of the image creation (now more like 1-2 IT/s) and the blurring of inpaint masking.
The other issue I ran into was using the correct version of python. When troubleshooting my issues above one suggestion was the version of python since the creator specifically suggests 3.10.6. I had the windows store version, which was newer but I can't remember what version. I uninstalled that, and reinstalled 3.10.6, but upon booting of the stable-diffusion-webui it warns me it can't find python (lists old path) and closes. In the "webui-user.bat" there is a section for "set PYTHON=" and you're supposed to be able to put the path there, but it never worked for me. When the program first installs it generates a file in the venv folder (main directory) which in that lists the file location to the python.exe. So you can either edit that file manually which is what I did, or reinstall the entire stable-diffusion-webui once you have the correct python installed; upon generation it will auto fill this file with the correct path. You can check what version of python you have by opening cmd and: python --version.
This ultimately didn't fix my issue with the inpaint, but I also didn't found any information online about switching python versions post install so I wanted to just add this to the Aether.
Other than that it seems to be working just fine. I made a github account specifically to post this comment, so I don't think I'll be actively checking replies. But hopefully this helps with troubleshooting AMD GPU issues.
Beta Was this translation helpful? Give feedback.
All reactions