Buckets:
Pipeline states
PipelineState[[diffusers.modular_pipelines.PipelineState]]
class diffusers.modular_pipelines.PipelineStatediffusers.modular_pipelines.PipelineState
PipelineState stores the state of a pipeline. It is used to pass data between pipeline blocks.
getdiffusers.modular_pipelines.PipelineState.get
- default (Any) -- The default value to return if not found0Union[Any, Dict[str, Any]]Single value if keys is str, dictionary of values if keys is list
Get one or multiple values from the pipeline state.
get_by_kwargsdiffusers.modular_pipelines.PipelineState.get_by_kwargs
Get all values with matching kwargs_type.
setdiffusers.modular_pipelines.PipelineState.set
- value (Any) -- The value to store
- kwargs_type (str) -- The kwargs_type with which the value is associated0
Add a value to the pipeline state.
to_dictdiffusers.modular_pipelines.PipelineState.to_dict
Convert PipelineState to a dictionary.
BlockState[[diffusers.modular_pipelines.BlockState]]
class diffusers.modular_pipelines.BlockStatediffusers.modular_pipelines.BlockState
Container for block state data with attribute access and formatted representation.
as_dictdiffusers.modular_pipelines.BlockState.as_dict
Convert BlockState to a dictionary.
Xet Storage Details
- Size:
- 4.65 kB
- Xet hash:
- e642450c2e96064eca0ce47b10bce2a2c15dfbdb324d80fc96345de71ed957af
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.