-
I've been trying to wrap my head around a problem for about 3 months now and I decided to throw the towel and actually ask for help - a while back after updating to Torch 2.0.0, image generation basically broke on my GTX1650 - it would generate non-hires images SOMETIMES while using hires fix would result in a failure every time with the following error error message at the end of the post. My setup (desktop PC) is as follows: The working WebUI setup (this works every time): Results: After running "pip install -r requirements_versions.txt" and adding "--reinstall-torch" The non-working WebUI setup (fails at the same spot every time): 512x512: 5.04s/it In particular, as soon as it is done with the 512x512 image, it would remain like it's trying to work out something before generating anything from the 1024x1024 one (at the 50% mark in the UI, preview doesn't change) it errors out. Attempting it with the argument combinations listed below did not work either (errors out in all of them): Changing the Upcast cross attention layer to float32 option did not work either.
The solution I have to get it back running flawlessly is to follow the steps I found here - https://www.reddit.com/r/StableDiffusion/comments/zsn83k/stable_diffusion_auto111_torchpytorch_install/ (except the xformers part), but I would really love to know if this is something known/expected, if there is an actual way to fix it now, or if this is an issue that someone has to (hopefully) fix at some point in the future. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Why are you not using xformers? And I think you should use --lowvram not --medvram with 4GB VRAM |
Beta Was this translation helpful? Give feedback.
-
I found that extensions and their requirements and/or dependencies sometimes conflict after you install a new one, leading to performance problems. A starting point to solve your problem is 'the conflict checker to check for incompatibilities: pip check
I ran 'pip check' and identified what was conflicting and what versions would be required. It will show some things that need upgrading and some downgrading. Be prepared, after your first fix, a new conflict might appear, and you deal with them one by one to find the lowest version of each dependency that would be compatible with your A1111 setup and your extensions. Don't forget to activate an environment in your venv. Please verify this information before doing this, I am by no means an expert, but I figured it out. So, don't hold me accountable if something goes wrong. If you need help with how to perform any of those, check with ChatGPT for tips; but, verify everything via google or on here. Good luck. |
Beta Was this translation helpful? Give feedback.
Kind'a late of a response from my side, holiday season 'n all that. While your suggestion here did not resolve the issue by itself, it was a bit part in actually reaching a solution - I was able to not only get it to work, but also use a SDXL model on the GTX1650.
As a summary, what I did was:
NOTE: currently on the nVidia studio driver v546.33, applying the SD-specific fix
NOTE 2: while I have a bunch of extensions installed, none of them…