fastvideo.v1.pipelines.preprocess_pipeline#

T2V Data Preprocessing pipeline implementation.

This module contains an implementation of the T2V Data Preprocessing pipeline using the modular pipeline architecture.

Module Contents#

Classes#

Data#

API#

fastvideo.v1.pipelines.preprocess_pipeline.EntryClass#

None

class fastvideo.v1.pipelines.preprocess_pipeline.PreprocessPipeline(model_path: str, fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, config: Optional[Dict[str, Any]] = None, required_config_modules: Optional[List[str]] = None)[source]#

Bases: fastvideo.v1.pipelines.composed_pipeline_base.ComposedPipelineBase

create_pipeline_stages(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs)[source]#

Set up pipeline stages with proper dependency injection.

forward(batch: fastvideo.v1.pipelines.pipeline_batch_info.ForwardBatch, fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, args)[source]#
preprocess_validation_text(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, args)[source]#
preprocess_video_and_text(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, args)[source]#
static process_chunk_range(args: Any) int[source]#
fastvideo.v1.pipelines.preprocess_pipeline.logger[source]#

β€˜init_logger(…)’