Video GenerationOpen source codethu-ml/TurboDiffusion

TurboDiffusion: Open Source AI Repository & Self-Hosting Guide

Tsinghua ML Group open-source video diffusion acceleration toolkit achieving 10-100x faster generation via rCM step distillation and SageSLA sparse attention.

GitHub Stars
3,873 stars
Repository License
Apache-2.0
Last Push (UTC)
Nov 4, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/thu-ml/TurboDiffusion.git
View on GitHub
Installpip install -r requirements.txt && python infer_turbo.py

TurboDiffusion: Architecture & Practical Workflow

TurboDiffusion fuses SageAttention low-bit sparse attention with rectified-flow consistency model (rCM) distillation—compressing 50-step Wan 2.1/2.2 or CogVideo runs down to 3-4 steps while preserving motion quality.

Recommended End-to-End Pipeline

Drop TurboDiffusion accelerated kernels into high-volume research or batch rendering clusters to slash per-clip GPU inference seconds dramatically.

Runtime Target
Self-Hosted / Python / PyTorch (GitHub)
Primary Users
ML Engineers, Video Infra Teams
Code License
Apache-2.0
Focus Topics
open-source, github, acceleration, distillation

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python / PyTorch (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/thu-ml/TurboDiffusion.git && cd TurboDiffusion`.
  2. 2Review the Apache-2.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python infer_turbo.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Drop TurboDiffusion accelerated kernels into high-volume research or batch rendering clusters to slash per-clip GPU inference seconds dramatically.)

Hardware & VRAM Notes

Designed primarily for local or cloud GPU acceleration. Model weight size and batch resolution directly determine memory usage.

GPU & VRAM

NVIDIA CUDA GPU (typically 8 GB–24 GB+ VRAM depending on model checkpoint, quantization, and output resolution); check the README for FP8/GGUF offload options.

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Python / PyTorch (GitHub)

Strengths & Best For

  • Orders-of-magnitude faster video sampling
  • Compatible with popular DiT video models
  • Apache-2.0 license
  • Best suited for: ML Engineers, Video Infra Teams

Limitations & Caveats

  • Developer-oriented PyTorch toolkit
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted TurboDiffusion vs. Hosted Alternatives (Mochi 1 & CogVideoX)
FactorTurboDiffusion (Self-Hosted)Mochi 1CogVideoX
Execution & PrivacyRuns locally via Self-Hosted / Python / PyTorch (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaApache-2.0 code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitOrders-of-magnitude faster video sampling; Compatible with popular DiT video modelsGenmo's Apache-2.0 open-source video generation model known for fluid human motion and strict prompt adherence.Open-source video diffusion transformer by Zhipu AI supporting local text-to-video and image-to-video fine-tuning.
Key Trade-offDeveloper-oriented PyTorch toolkitRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for TurboDiffusion workflows.

Cinematic FPV Drone Architectural FlythroughVideo · Video, Cinematic, Drone, Architecture
Open in Studio
Macro E-Commerce Luxury Product RevealVideo · Video, E-Commerce, Macro, Luxury
Open in Studio
1000fps Phantom Flex Rain SplashVideo · Ultra Slow-Motion Macro
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does TurboDiffusion do and how does it work?

TurboDiffusion (thu-ml/TurboDiffusion) is an open-source video generation project with 3,873 stars on GitHub. Tsinghua ML Group open-source video diffusion acceleration toolkit achieving 10-100x faster generation via rCM step distillation and SageSLA sparse attention. TurboDiffusion fuses SageAttention low-bit sparse attention with rectified-flow consistency model (rCM) distillation—compressing 50-step Wan 2.1/2.2 or CogVideo runs down to 3-4 steps while preserving motion quality.

Is TurboDiffusion free to self-host and use commercially?

TurboDiffusion provides open source code licensed under Apache-2.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does TurboDiffusion require?

TurboDiffusion targets Self-Hosted / Python / PyTorch (GitHub). Typical installation runs via `pip install -r requirements.txt && python infer_turbo.py`. Developer-oriented PyTorch toolkit

How does self-hosting TurboDiffusion compare to hosted tools like Mochi 1?

Self-hosting TurboDiffusion gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python / PyTorch (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Mochi 1 (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is TurboDiffusion actively maintained and what workflow fits it best?

Repository metadata records 3,873 stars on GitHub with the latest recorded push on Nov 4, 2026. Drop TurboDiffusion accelerated kernels into high-volume research or batch rendering clusters to slash per-clip GPU inference seconds dramatically.