-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[SDXL] Fix uncaught error with image to image #8856
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
[SDXL] Fix uncaught error with image to image #8856
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
can we add to the sd1.5 too?
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py
Outdated
Show resolved
Hide resolved
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
* initial commit * apply suggestion to sdxl pipelines * apply fix to sd pipelines
What does this PR do?
Fixes one specific use case for SDXL image to image where we pass multiple generators but only one image. This PR expands the image tensor so it matches the number of generators.
To reproduce the error without this PR:
Throws:
This error wasn't caught in the tests.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.