causal_denoising
¶
Classes¶
fastvideo.pipelines.stages.causal_denoising.CausalDMDDenosingStage
¶
Bases: DenoisingStage
Denoising stage for causal diffusion.
Source code in fastvideo/pipelines/stages/causal_denoising.py
Functions¶
fastvideo.pipelines.stages.causal_denoising.CausalDMDDenosingStage.verify_input
¶
verify_input(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> VerificationResult
Verify denoising stage inputs.
Source code in fastvideo/pipelines/stages/causal_denoising.py
fastvideo.pipelines.stages.causal_denoising.CausalDenoisingStage
¶
Bases: CausalDMDDenosingStage
Causal block-by-block denoising with standard multi-step flow matching (scheduler.step), not DMD few-step.
Each block is fully denoised through all scheduler timesteps before moving to the next block. After each block is denoised, the KV cache is updated with clean context so subsequent blocks can attend to prior clean frames.