diffusers
509b7658 - add a helper function `insert_step_callback` and callback test on modular (#15427)

Commit
1 day ago
add a helper function `insert_step_callback` and callback test on modular (#15427) * [Modular] add insert_step_callback Adds a step callback block to every denoising loop of a modular pipeline, so it accepts `callback_on_step_end` like a standard pipeline. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * [Modular] add early stop test and docs for insert_step_callback Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * add return type annotation to StepCallbackBlock.__call__ Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Author
Parents
Loading