Is your feature request related to a problem? Please describe.
StableDiffusionPipeline has an interrupt that stops the denoising loop when no longer needed. but the ControlNet pipeline doesn't have it.
|
if self.interrupt: |
|
continue |
Describe the solution you'd like.
Please bring the interrupt to ControlNet pipeline
Describe alternatives you've considered.
Right now, I have to keep denoising the loop is denoising for nothing to make the code still work correctly when ControlNet is apply. Or i might need to create a copy of ControlNetPipeline for myself to early stop denosing loop.