diffusers
d3408bf7 - [modular] replace composite `*_overrides` with `ModularPipelineBlocks.new()`

Commit
10 days ago
[modular] replace composite `*_overrides` with `ModularPipelineBlocks.new()` A composite's override only changed what the composite declared; the leaf that reads the input kept filling in its own default, so under an auto block the run did not match the declaration. `block.new(...)` returns a copy of a leaf block with some of its declarations replaced, and composites derive from that. Two sub-blocks that declare different defaults are no longer a warning: the first wins and the other is logged at debug level, the docstring shows what runs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Author
Parents
Loading