-
Notifications
You must be signed in to change notification settings - Fork 56
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
Inpainting only works with 512x512 using stable-fast #121
Comments
Update: I think loras don't work with StableDiffusionPipeline (with stable-fast) after updating diffusers. I will try downgrading tomorrow since I haven't tested stable-fast inpainting with previous version of diffusers and report back. let me know if there is any other info I can provide. |
I have downgraded and the issue persists. Also, textual inversion and loras don't work for some reason.
Text2Image generation is successful, but no loras loaded/used. When I run it without stable-fast, they work just fine. |
@lunatolun You could give a full script so that the problem can be reproduced. |
I have tested in many different ways. The exact same codes and parameters work with AutoPipelineForInpainting (also tried StableDiffusionInpaintPipeline) using EulerAncestralDiscreteScheduler, but it doesn't with stable-fast. However, if I don't touch anything in the codes and provide a 512x512 image, 512x512 mask, stable-fast works as expected (AND FAST!). I have no idea why it happens. Using diffusers==0.26.2
The GPU is RTX4090. I have tried with many dimensions.
Behavior: It gets stuck at 0% without any errors
0%| | 0/30 [00:00<?, ?it/s]
The script below either uses stable-fast (it is warmed up, just like examples, using 512x512, and no issues during that phase) or I can disable and test without stable-fast, same parameters (AutoPipelineForInpainting, EulerAncestralDiscreteScheduler) and same images, same codes, works as intended.
TL:DR; 512x512 works with both stable-fast and without, anything else only works if I don't use stable-fast.
PS: No issues with StableDiffusionPipeline, just inpainting.
PPS: Thanks for the great work.
The text was updated successfully, but these errors were encountered: