Open rootonchair opened 2 months ago
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
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