thu-ml/DiT-Extrapolation

Official implementation for "RIFLEx: A Free Lunch for Length Extrapolation in Video Diffusion Transformers" (ICML 2025) , UltraViCo (ICLR 2026) and UltraImage

60
/ 100
Established

Implements plug-and-play length extrapolation for video diffusion transformers by modifying a single RoPE frequency parameter, enabling models like HunyuanVideo and CogVideoX to generate longer sequences (5s→11s) without retraining. Extends to high-resolution image generation through UltraImage branch and supports multiple inference backends including Diffusers, with pre-trained checkpoints available on HuggingFace. Integrates with ComfyUI and other inference frameworks, offering both single-GPU and multi-GPU inference options.

794 stars. Actively maintained with 1 commit in the last 30 days.

No Package No Dependents
Maintenance 16 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

794

Forks

74

Language

Python

License

Apache-2.0

Last pushed

Mar 08, 2026

Commits (30d)

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/thu-ml/DiT-Extrapolation"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.