thu-ml/Causal-Forcing

Official codebase for "Causal Forcing: Autoregressive Diffusion Distillation Done Right for High-Quality Real-Time Interactive Video Generation"

45
/ 100
Emerging

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.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 11 / 25
Community 11 / 25

How are scores calculated?

Stars

456

Forks

21

Language

Python

License

Apache-2.0

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.