fastvideo.v1.pipelines.stages.conditioning
#
Conditioning stage for diffusion pipelines.
Module Contents#
Classes#
Stage for applying conditioning to the diffusion process. |
Data#
API#
- class fastvideo.v1.pipelines.stages.conditioning.ConditioningStage[source]#
Bases:
fastvideo.v1.pipelines.stages.base.PipelineStage
Stage for applying conditioning to the diffusion process.
This stage handles the application of conditioning, such as classifier-free guidance, to the diffusion process.
- forward(batch: fastvideo.v1.pipelines.pipeline_batch_info.ForwardBatch, fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs) fastvideo.v1.pipelines.pipeline_batch_info.ForwardBatch [source]#
Apply conditioning to the diffusion process.
- Parameters:
batch β The current batch information.
fastvideo_args β The inference arguments.
- Returns:
The batch with applied conditioning.