-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
SDXLCFGCutoffCallback
does not work with StableDiffusionXLControlNetPipeline
#8686
Comments
Thanks for reporting this issue, I'll look into it, probably the best option here is to make it work with the same callback for all the SDXL related pipelines. |
Hi there! I just had this problem. Any update here? Or code that we could use to overwrite the callback meanwhile. Thanks a lot. |
by a coincidence I'm just working on this, I'll open a PR soon |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
not stale |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Describe the bug
Running CFGCutoffCallback with ControlNet SDXL will raise following error
which occurs due to conditional
image
(https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py#L1488) is not converted back to batch 1.So the solution would be either adding new Callback for ControlNet or fixing current Callback to convert
image
back to shape 1Reproduction
Logs
No response
System Info
Who can help?
@sayakpaul @yiyixuxu
The text was updated successfully, but these errors were encountered: