fastvideo.v1.pipelines#

Diffusion pipelines for fastvideo.v1.

This package contains diffusion pipelines for generating videos and images.

Subpackages#

Submodules#

Package Contents#

Classes#

PipelineWithLoRA

Type for a pipeline that has both ComposedPipelineBase and LoRAPipeline functionality.

Functions#

build_pipeline

Only works with valid hf diffusers configs. (model_index.json) We want to build a pipeline based on the inference args mode_path:

Data#

API#

class fastvideo.v1.pipelines.PipelineWithLoRA(*args, **kwargs)[source]#

Bases: fastvideo.v1.pipelines.lora_pipeline.LoRAPipeline, fastvideo.v1.pipelines.composed_pipeline_base.ComposedPipelineBase

Type for a pipeline that has both ComposedPipelineBase and LoRAPipeline functionality.

Initialization

Initialize the pipeline. After init, the pipeline should be ready to use. The pipeline should be stateless and not hold any batch state.

fastvideo.v1.pipelines.build_pipeline(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs) fastvideo.v1.pipelines.PipelineWithLoRA[source]#

Only works with valid hf diffusers configs. (model_index.json) We want to build a pipeline based on the inference args mode_path:

  1. download the model from the hub if it’s not already downloaded

  2. verify the model config and directory

  3. based on the config, determine the pipeline class

fastvideo.v1.pipelines.logger[source]#

β€˜init_logger(…)’