-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: (A100) Generating fully black images at res over ~600x600 #5757
Comments
Stable Diffusion doesn't work with pictures that don't match 64x64 grid. For this reason, step of 64 was added for picture resolution. In your case 600/64=9.375 has modulo, your close one is 9*64=576 |
i know, and i still get it on higher (multiples of 64x64) resolutions like 1024x1024 and 2048x2048 |
If 2.0 or 2.1 is generating black images, enable full precision with |
|
I don't know if it is the same problem, but I kinda experienced similar situation too. In my case it's the img2img randomly generate entire black images when the output resolution is high. I solved it using --no-half-vae, as it turns out my vae model doesn't mix well with half precision floating-point calculation. I guess you can try both --no-half and --no-half-vae. |
Original model doesn't, but this repo does, see #4978. The limitation is now 8x8. Also, the fact that you get a black image means the resolution is not an issue, because in cases where the resolution is not supported, webui will throw an error before even generating for 1 step. |
Your issue is a random one right, meaning you don't get black image every single time. |
I wasn't having this issue at all a day ago, then all of a sudden every gen is getting some black images. generally when using "highres fix". I turned on the "save before highres" and the 576x768's will save and the 768x1024 will be black. Not on every image, but seems fairly consistent on regen of the same seed, but often regens will work. update: i think my vae wasn't loaded correctly last time I started the server. I just noticed the gen's pre-highres-fix colors were more muted than the re-run that didn't gen a black image. Might want to play with your vae setting/which you're using just to test |
Is there an existing issue for this?
What happened?
When generating images with a higher res that about 600x600, all it generates is black
Steps to reproduce the problem
What should have happened?
It should have generated an image
Commit where the problem happens
/notebooks/invoke
What platforms do you use to access UI ?
Other/Cloud
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
I am using an A100-80G on Paperspace (Gradient)
Also seems to happen less on SD2
The text was updated successfully, but these errors were encountered: