Buckets:
Pipeline blocks
ModularPipelineBlocks[[diffusers.ModularPipelineBlocks]]
class diffusers.ModularPipelineBlocksdiffusers.ModularPipelineBlocks
Base class for all Pipeline Blocks: PipelineBlock, AutoPipelineBlocks, SequentialPipelineBlocks, LoopSequentialPipelineBlocks
ModularPipelineBlocks provides method to load and save the definition of pipeline blocks.
> This is an experimental feature and is likely to change in the future.
combine_inputsdiffusers.ModularPipelineBlocks.combine_inputs
Combines multiple lists of InputParam objects from different blocks. For duplicate inputs, updates only if current default value is None and new default value is not None. Warns if multiple non-None default values exist for the same input.
combine_outputsdiffusers.ModularPipelineBlocks.combine_outputs
Combines multiple lists of OutputParam objects from different blocks. For duplicate outputs, keeps the first occurrence of each output name.
get_block_statediffusers.ModularPipelineBlocks.get_block_state
init_pipelinediffusers.ModularPipelineBlocks.init_pipeline
create a ModularPipeline, optionally accept modular_repo to load from hub.
SequentialPipelineBlocks[[diffusers.modular_pipelines.SequentialPipelineBlocks]]
class diffusers.modular_pipelines.SequentialPipelineBlocksdiffusers.modular_pipelines.SequentialPipelineBlocks
- block_names -- List of prefixes for each block0
A Pipeline Blocks that combines multiple pipeline block classes into one. When called, it will call each block in sequence.
This class inherits from ModularPipelineBlocks. Check the superclass documentation for the generic methods the library implements for all the pipeline blocks (such as loading or saving etc.)
> This is an experimental feature and is likely to change in the future.
from_blocks_dictdiffusers.modular_pipelines.SequentialPipelineBlocks.from_blocks_dict
LoopSequentialPipelineBlocks[[diffusers.modular_pipelines.LoopSequentialPipelineBlocks]]
class diffusers.modular_pipelines.LoopSequentialPipelineBlocksdiffusers.modular_pipelines.LoopSequentialPipelineBlocks
- block_names -- List of prefixes for each block0
A Pipeline blocks that combines multiple pipeline block classes into a For Loop. When called, it will call each block in sequence.
This class inherits from ModularPipelineBlocks. Check the superclass documentation for the generic methods the library implements for all the pipeline blocks (such as loading or saving etc.)
> This is an experimental feature and is likely to change in the future.
from_blocks_dictdiffusers.modular_pipelines.LoopSequentialPipelineBlocks.from_blocks_dict
Creates a LoopSequentialPipelineBlocks instance from a dictionary of blocks.
AutoPipelineBlocks[[diffusers.modular_pipelines.AutoPipelineBlocks]]
class diffusers.modular_pipelines.AutoPipelineBlocksdiffusers.modular_pipelines.AutoPipelineBlocks
- block_names -- List of prefixes for each block
- block_trigger_inputs -- List of input names that trigger specific blocks, with None for default0
A Pipeline Blocks that automatically selects a block to run based on the inputs.
This class inherits from ModularPipelineBlocks. Check the superclass documentation for the generic methods the library implements for all the pipeline blocks (such as loading or saving etc.)
> This is an experimental feature and is likely to change in the future.
Xet Storage Details
- Size:
- 9.31 kB
- Xet hash:
- 2e2abe93841dde951a6cd16be8dc20431d46657097a7e2a6c7c7129f888bb0e7
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.