fastvideo.training.wan_self_forcing_distillation_pipeline
#
Module Contents#
Classes#
A self-forcing distillation pipeline for Wan that uses the self-forcing methodology with DMD for video generation. |
Functions#
Data#
API#
- class fastvideo.training.wan_self_forcing_distillation_pipeline.WanSelfForcingDistillationPipeline(model_path: str, fastvideo_args: fastvideo.fastvideo_args.TrainingArgs, required_config_modules: list[str] | None = None, loaded_modules: dict[str, torch.nn.Module] | None = None)[source]#
Bases:
fastvideo.training.self_forcing_distillation_pipeline.SelfForcingDistillationPipeline
A self-forcing distillation pipeline for Wan that uses the self-forcing methodology with DMD for video generation.
Initialization
Initialize the pipeline. After init, the pipeline should be ready to use. The pipeline should be stateless and not hold any batch state.
- create_training_stages(training_args: fastvideo.fastvideo_args.TrainingArgs)[source]#
May be used in future refactors.
- initialize_validation_pipeline(training_args: fastvideo.fastvideo_args.TrainingArgs)[source]#