fastvideo.pipelines#
Diffusion pipelines for fastvideo.
This package contains diffusion pipelines for generating videos and images.
Subpackages#
fastvideo.pipelines.basicfastvideo.pipelines.preprocessfastvideo.pipelines.preprocess.wanfastvideo.pipelines.preprocess.preprocess_pipeline_basefastvideo.pipelines.preprocess.preprocess_pipeline_i2vfastvideo.pipelines.preprocess.preprocess_pipeline_ode_trajectoryfastvideo.pipelines.preprocess.preprocess_pipeline_t2vfastvideo.pipelines.preprocess.preprocess_pipeline_textfastvideo.pipelines.preprocess.preprocess_stagesfastvideo.pipelines.preprocess.v1_preprocessfastvideo.pipelines.preprocess.v1_preprocessing_new
fastvideo.pipelines.stagesfastvideo.pipelines.stages.basefastvideo.pipelines.stages.causal_denoisingfastvideo.pipelines.stages.conditioningfastvideo.pipelines.stages.decodingfastvideo.pipelines.stages.denoisingfastvideo.pipelines.stages.encodingfastvideo.pipelines.stages.image_encodingfastvideo.pipelines.stages.input_validationfastvideo.pipelines.stages.latent_preparationfastvideo.pipelines.stages.stepvideo_encodingfastvideo.pipelines.stages.text_encodingfastvideo.pipelines.stages.timestep_preparationfastvideo.pipelines.stages.validators
fastvideo.pipelines.training
Submodules#
Package Contents#
Classes#
Type for a pipeline that has both ComposedPipelineBase and LoRAPipeline functionality. |
Functions#
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.pipelines.PipelineWithLoRA(*args, **kwargs)[source]#
Bases:
fastvideo.pipelines.lora_pipeline.LoRAPipeline,fastvideo.pipelines.composed_pipeline_base.ComposedPipelineBaseType 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.pipelines.build_pipeline(fastvideo_args: fastvideo.fastvideo_args.FastVideoArgs, pipeline_type: fastvideo.pipelines.pipeline_registry.PipelineType | str = PipelineType.BASIC) fastvideo.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:
download the model from the hub if itβs not already downloaded
verify the model config and directory
based on the config, determine the pipeline class