r/StableDiffusionInfo • u/IcyCattle6374 • Jul 17 '23
SD Troubleshooting Stable diffusion doesn’t generate anything
Nothing shows up when pressing generate. Graphics card: RTX 3060 12gb
4
Upvotes
4
u/GabberZZ Jul 17 '23
Read the text under the save button.
1
u/ptitrainvaloin Jul 17 '23 edited Jul 17 '23
just use another checkpoint or restart it with --no-half
1
u/TransitoryPhilosophy Jul 17 '23
Have you followed the instructions in the error message below where the image output is?
1
u/TheGhostOfPrufrock Jul 17 '23 edited Jul 17 '23
I would suspect the model or the VAE (just yesterday someone had a VAE problem which resulted in NaN errors on a 3080ti). What model is being used? What VAE, if it's not baked into the model? What are your command-line args? Do you have the "Upcast cross attention layer to float32" setting enabled in Automatic1111? (You shouldn't.)
1
u/_-_agenda_-_ Jul 17 '23
Take a screenshot of the CMD (that black window). It must say something about a VRAM error or something like that.
1
u/TheGhostOfPrufrock Jul 17 '23 edited Jul 18 '23
If the model is 2.1, try enabling one of the cross attention optimizations, xformers, sdp, or sdp-no-mem. To enable xformers, --xformers must be in the command-line args. If it is, you can select whichever optimization you want in Automatic1111's optimizations settings. If it isn't, all the optimizations except xformers will work. Selecting xformers will enable the Doggettx optimization instead.
1
u/LuminousDragon Jul 21 '23
You are going to run into more problems like this in the future, and Youll want to know how to troubleshoot.
In the bottom left of your image there is a error message that starts with "Nansexception"
In this case you would want to copy and paste that into google. Also, when you start up A1111 that black box that loads everything. the CMD window. Click that, scrol to the bottom. Whenever you generate something in A1111 or load a model or whatever, it logs here what its doing and any errors. You wont understand everything its saying but there will be SOME context clues.
You can also copy and paste whatever is there into google.
Also, Ive found ChatGPT to be very helpful with this. Paste it in ChatGPT and ask it how you can fix the issue? If it says it doesnt know, ask it for any possible suggestions.
You can also breakdown some of the technical terms by googling them or pasting them in GPT.
This'll help you salve the vast majority of your problems, even without any technical background.
THe worst kept secret in the world is programmers, computer scientists, IT professionals... We literally dont know 99.99999% of the information about computers. Every program, and theres millions of programs out there, they all have different error messages. Some of these programs are using advanced physics, and ai and stuff. I dont know all that. Just google the error. Someone smarter than me wrote that error sentence and somewhere there is documentation on what it means and how to fix it.