pi-H3: Video Generation in 2-4 Steps Without a VAE Decoder
- URL: https://github.com/Lakonik/LakonLab/blob/main/docs/piH3.md
- Date Saved: 2026-11-22
- Source: GitHub
- Tags: creative-ai, ai-engineering
- Repo: https://github.com/Lakonik/LakonLab
Summary
Stanford + Luma AI 研究,把 MiniMax H3 影片生成加速到只需 2-4 步,同時移除 VAE decoder。結合兩個技術:
核心技術
- pi-Flow v2 — data-free few-step distillation,把原本需要幾十步的擴散模型蒸餾到 2 或 4 步
- DWD (Decoding Without a Decoder) — 最後一步直接用 denoiser 預測 clean pixels,不再需要 VAE decoder,省掉整個解碼器
功能
- Text-to-video + audio(10 秒影片,768x1344,24fps)
- Image-to-video、first-and-last-frame-to-video
- FP8 W8A8 量化
- Sol-Attn sparse attention(支持 SM90/SM100/SM120 GPU)
- AOT compilation + offline Sol bundles for production serving
- Gradio demo + ComfyUI plugin
效能
- 2 步或 4 步生成完整影片(含音頻)
- 支持 SageAttention、FlashAttention 3
- 雙 GPU:text encoder 在 cuda:1,transformer 在 cuda:0
- 單 GPU offload 模式可用
團隊
- Hansheng Chen, Shengqu Cai (Stanford), Jiaming Song, Xinchen Yan (Luma AI), Gordon Wetzstein, Leonidas Guibas (Stanford)
- Stars: 535 | License: Apache 2.0 (code), MiniMax H3 Community License (weights)
- Weights on HuggingFace: Lakonik/pi-H3
- Demo: https://huggingface.co/spaces/Lakonik/pi-H3