Welcome to FastVideo¶
FastVideo is a unified post-training and real-time inference framework for accelerated video generation.
FastVideo is an inference and post-training framework for diffusion models. It features an end-to-end unified pipeline for accelerating diffusion models, starting from data preprocessing to model training, finetuning, distillation, and inference. FastVideo is designed to be modular and extensible, allowing users to easily add new optimizations and techniques. Whether it is training-free optimizations or post-training optimizations, FastVideo has you covered.
Key Features¶
FastVideo has the following features:
- End-to-end post-training support for bidirectional and autoregressive models
- Full finetuning and LoRA finetuning for state-of-the-art open video DiTs
- Data preprocessing pipeline for video, image, and text data
- Distribution Matching Distillation (DMD2) stepwise distillation
- Sparse attention with Video Sparse Attention
- Sparse distillation to achieve >50x denoising speedup
- Attn-QAT training for quantization-aware post-training
- Causal distillation through Self-Forcing
- Scalable training with FSDP2, sequence parallelism, and selective activation checkpointing
- See the training overview for the full training workflow
- State-of-the-art performance optimizations for inference
- Sequence parallelism for distributed inference
- Multiple state-of-the-art attention backends
- User-friendly CLI and Python API
- See the support matrix for supported models and optimizations for the full list
- Realtime video generation and editing
- Dreamverse: stream and "vibe direct" video in realtime (live demo)
Documentation¶
Welcome to FastVideo! This documentation will help you get started with our unified inference and post-training framework for accelerated video generation.
Use the navigation menu on the left to explore different sections:
- Getting Started: Installation and quick start guides
- Inference: Learn how to use FastVideo for video generation
- Training: Data preprocessing and fine-tuning workflows
- Distillation: Post-training optimization techniques
- Sliding Tile Attention: Legacy workflow docs and kernel notes
- Video Sparse Attention: Efficient attention for video models
- Design: Framework architecture and design principles
- Developer Guide: Contributing and development setup
- API Reference: Complete API documentation
