stages ¶
LingBot-Video stages whose contracts differ from shared Wan behavior.
Classes¶
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoDenoisingStage ¶
LingBotVideoDenoisingStage(transformer, scheduler, refiner: bool = False)
Bases: PipelineStage
Run the released batched-CFG bf16 DiT loop with fp32 scheduler state.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
Methods:¶
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoDenoisingStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Denoise latents while keeping scheduler samples and predictions in fp32.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoInputValidationStage ¶
LingBotVideoInputValidationStage(refiner_enabled: bool = False)
Bases: InputValidationStage
Validate released shape constraints and construct the official CUDA RNG.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
Methods:¶
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoInputValidationStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Run shared validation, then enforce LingBot temporal and spatial geometry.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoLatentPreparationStage ¶
Bases: PipelineStage
Prepare fp32 latents in the released 4x temporal and 8x spatial geometry.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
Methods:¶
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoLatentPreparationStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Generate or validate one normalized fp32 latent video.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoRefinerPreparationStage ¶
Bases: PipelineStage
Resize and encode the base video, then initialize the released refiner state.
Source code in fastvideo/pipelines/basic/lingbot_video/stages.py
Methods:¶
fastvideo.pipelines.basic.lingbot_video.stages.LingBotVideoRefinerPreparationStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Prepare high-resolution refiner latents and its exact truncated sigma schedule.