thu-ml/Causal-Forcing
Official codebase for "Causal Forcing: Autoregressive Diffusion Distillation Done Right for High-Quality Real-Time Interactive Video Generation"
Implements causal forcing—a diffusion distillation approach that conditions each generated frame on all previous frames rather than fixed intermediate frames—enabling frame-wise and chunk-wise architectures that unify text-to-video (T2V) and image-to-video (I2V) generation. Achieves real-time streaming video synthesis on consumer GPUs through autoregressive diffusion training followed by ODE initialization or consistency distillation, with native support for minute-level generation via Rolling Forcing integration. Built on the Wan diffusion backbone and compatible with CLIP embeddings, supporting both 1.3B and 14B parameter configurations.
456 stars.
Stars
456
Forks
21
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 11, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/thu-ml/Causal-Forcing"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
PRIS-CV/DemoFusion
Let us democratise high-resolution generation! (CVPR 2024)
mit-han-lab/distrifuser
[CVPR 2024 Highlight] DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models
Tencent-Hunyuan/HunyuanPortrait
[CVPR-2025] The official code of HunyuanPortrait: Implicit Condition Control for Enhanced...
Shilin-LU/TF-ICON
[ICCV 2023] "TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition" (Official...
giuvecchio/matfuse
MatFuse: Controllable Material Generation with Diffusion Models (CVPR2024)