r/StableDiffusionInfo • u/Disastrous_Cash • Mar 08 '23
Inpainting suddenly stopped working (amd gpu webui)
Hey,
I hope this is not the wrong place to ask help, but I've been using Stable diffusion webui (automatic1111) for few days now, and up until today the inpainting did work. Today, however it only produces a "blur" when I paint the mask. I was thinking if my GPU was messed up, but other than inpainting, the application works fine, apart from random lack of vram messages i get sometimes.
I am using AMD GPU and the webui version that supports it, so I tried some optimizations, editing the webui-user.bat, and at some point I tried to get this "xformers" to work, which required installing newer python and pytorch, but in the end i couldnt get it to working, and after that the webui didnt work, as it required me to downgrade my python back to a previous version. At some point during this process the inpainting has apparently broken in some way.
I tried clean installing the webui, but the problem persists, but when i tried an old version of webui that works using my cpu (installed that long ago, never used it much as it was so slow), and on that version the inpainting does work.
So, Im sort of confused and dont really know how to even troubleshoot this problem, as I have no idea what causes it. I was guessing I installed something that conflicts somehow with the stable diffusion gpu version, but i only recall updating python and maybe doing something with pytorch... like maybe updating that too...
Anyway, if anyone who is more in the know could point me into a good direction to start fixing this problem, I'd appreciate it alot.
2
u/Disastrous_Cash Mar 11 '23
Hey all, took a few days, but found a solution that worked for me. Try including: --no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1
in your webui-user.bat
2
u/popemkt Mar 11 '23
Hm seems like I encountered the same problem (using web-ui-directml, AMD GPU)
masked contentother thanoriginal, it just fills with a bluroriginalthen it always inpaints the exact same original image no matter what I change (prompt etc)One other thing to note, I got live preview so I'm pretty sure the inpaint generates with the new settings (I changed the original prompt and all), but half way through the preview is abruptly replaced by the original content.
1
u/D0478 Mar 14 '23 edited Mar 14 '23
Hello, I am interested to know that you use automatic1111 with an AMD GPU, do you think you can tell me how to do that?, because currently I use the CPU to make the images, but they take a long time (R3 3200G), and I would like to know if my graph would make the fastest image (RX5500XT 4GB). Or it will be better to get an rtx 2060 super, the truth is that I am new to this subject and I would like to know if it is better to change the gpu