← Back to Leaderboard
Fhao-ai-lab

hao-ai-lab/FastVideo

GPU framework for video post-training and accelerated inference

LLM TrainerQuickstart ↓
Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.2.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence14/20
License Clarity20/20
DockerSelf-HostedGPUCLI
Total Stars
★ 4,869
24h Growth
+1
7d Growth
+8
Forks
535

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

hao-ai-lab/FastVideo Star History (2024-12-14 - 2026-12-03) ALL-TIME STAR HISTORY (2024-12 – 2026-12) +4.9k in 719d · avg +7/day 5.1k 2.6k 0 2024-12-14: ★ 12025-02-01: ★ 9162025-03-22: ★ 1,2162025-05-10: ★ 1,3412025-06-28: ★ 1,5202025-08-16: ★ 1,9402025-10-04: ★ 2,3022025-11-22: ★ 2,5762026-01-10: ★ 2,8752026-02-28: ★ 3,0602026-04-18: ★ 3,3592026-06-06: ★ 3,6462026-07-25: ★ 3,8462026-09-12: ★ 4,3592026-10-31: ★ 4,7592026-12-03: ★ 4,869 ★ 4.9k 2024-12 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

FastVideo puts post-training and inference in the same Python repository. fastvideo/ houses the core package, while fastvideo-kernel/ is the separate kernel tree. The inference path starts with VideoGenerator.from_pretrained(...) and submits prompts through generate_video(...). At num_gpus=1, the worker stays in-process and loads weights once; distributed inference can use sequence parallelism.

The package uses setuptools, requires Python 3.10+, and declares transformers>=5.15.0 and scipy>=1.14.1. The Transformers floor is tied to vision interpolation for the MiniMax-H3 Qwen3-VL encoder and architecture mapping for LTX-2.5’s packed Gemma 4 encoder. Attention is selectable at runtime: FASTVIDEO_ATTENTION_BACKEND=VIDEO_SPARSE_ATTN selects VSA when its kernels are installed. Interactive streaming sits in a separate app: apps/dreamverse/ ships dreamverse-server and a web UI.

Key Capabilities & Differentiators

Post-training covers video, image, and text preprocessing, full and LoRA fine-tuning for supported video DiTs, DMD2 stepwise distillation, and Self-Forcing for causal distillation. FSDP2, sequence parallelism, and selective activation checkpointing support larger training runs. Sparse distillation recipes live in examples/distill/; the reported >50× speedup applies to denoising, not to total generation time or every model.

The CLI and Python API cover pretrained inference, with FastVideo/FastWan2.1-T2V-1.3B-Diffusers as a concrete text-to-video entry point. With the right checkpoint, FastH3 Omni combines a prompt with ordered image, video, and audio references to generate video and audio in eight fused forward passes. Kandinsky 6 adds text- and image-to-video with synchronized audio and video super-resolution up to 4×. These are model-specific capabilities, not a common feature set across checkpoints.

Trade-offs & Limitations

For straightforward generation with one supported checkpoint, a direct Diffusers pipeline is a simpler baseline. FastVideo is easier to justify when training and serving teams need to evaluate LoRA, distillation, sparse attention, and distributed inference together. The cost is a larger compatibility surface: check the exact model, device, precision, and attention backend combination rather than assuming that platform support implies support for every optimization.

Size for both VRAM and host RAM. On notebook-class machines with roughly 16 GB of host RAM, start with num_gpus=1: adding GPUs does not add host memory, and multiple workers can run out of it. Measure peak memory, output quality, and end-to-end latency at your target resolution, clip length, and concurrency before choosing a distributed configuration. The Apache-2.0 code license does not settle the terms for separately obtained weights or datasets.

Hardware & Deployment Guide

The package requires Python 3.10+, and the uv quick start uses Python 3.12 with UV_TORCH_BACKEND=cu126 for its CUDA 12 example and cu130 for CUDA 13. Match the PyTorch backend, driver, and optional kernels to the intended checkpoint and platform. For initial validation, use a supported single-GPU checkpoint and test generation through the Python API or CLI before enabling optional kernels or moving to distributed inference. Apple Silicon MLX and AMD ROCm have separate installation paths; do not assume CUDA feature parity.

The root includes docker/. Dreamverse specifically offers local GPU, self-hosted B200 over SSH, Docker, and serverless Modal deployment. The core generation path runs in your environment rather than requiring a hosted generation API. Release v0.2.0 added LongCat-Video Python API examples and LoRA extraction documentation, and fixed TurboDiffusion T2V/I2V configs. The supplied tree’s pyproject.toml declares 0.2.1, so pin the release tag or source revision when reproducing results.

Inference API: VideoGenerator.from_pretrained(...) and generate_video(...) load a compatible checkpoint and generate video; one GPU uses an in-process worker.
Attention backends: Video Sparse Attention is selectable via FASTVIDEO_ATTENTION_BACKEND=VIDEO_SPARSE_ATTN and requires VSA kernels.
Post-training: Data preprocessing, full fine-tuning, LoRA, DMD2 stepwise distillation, and causal Self-Forcing workflows.
Distributed execution: FSDP2 and selective activation checkpointing for training; sequence parallelism for training and inference.
Multimodal generation: FastH3 Omni accepts a prompt and ordered image, video, and audio references, producing video and audio in eight fused forward passes.
Interactive deployment: apps/dreamverse/ contains the dreamverse-server backend and a web UI, with Docker among the deployment options.
Best For

Teams adapting or distilling open video models and benchmarking the resulting checkpoints on their own GPUs; also suitable for prototyping interactive generation with Dreamverse.

Skip If

You only need a managed generation API or a simple single-checkpoint pipeline and do not want to maintain model-specific kernels or GPU runtime combinations.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedGPUCLI
uv venv --python 3.12 --seed
source .venv/bin/activate

# NVIDIA CUDA 12; use cu130 on CUDA 13
UV_TORCH_BACKEND=cu126 uv pip install fastvideo

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/hao-ai-lab/FastVideo.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

hao-ai-lab/FastVideo Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about FastVideo

How should I integrate FastVideo into an existing Python application?

Use VideoGenerator.from_pretrained(...) to load a compatible checkpoint, then call generate_video(...) with a prompt. With num_gpus=1, the worker runs in the caller’s process and loads weights once. Use the CLI for shell-driven jobs, or evaluate the separate Dreamverse backend and web UI if you need interactive streaming.

How much GPU memory and host RAM should I budget?

There is no framework-wide VRAM minimum. Start with a supported checkpoint and backend on one GPU, then measure peak VRAM and host RAM at the target resolution, clip length, and concurrency. The roughly 16 GB warning for notebook environments refers to host RAM, not GPU memory; adding GPUs does not raise that host limit.

Can we self-host FastVideo commercially?

FastVideo is Apache-2.0 licensed and can be self-hosted commercially under its license terms. Check the terms of each checkpoint and dataset separately, along with any dependencies you redistribute. Self-hosting gives you control over where inference runs; it does not by itself establish compliance for training data, prompts, or generated outputs.

When is FastVideo a better fit than a direct Diffusers pipeline?

For a single supported pretrained checkpoint and straightforward generation, start with a Diffusers-based pipeline and use it as a baseline. Evaluate FastVideo when you need sparse attention, distributed inference, fine-tuning, or distillation in the same framework. Compare both paths on the same checkpoint and output settings before accepting the extra environment complexity.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining hao-ai-lab/FastVideo? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature hao-ai-lab/FastVideo on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare