Instructions to use FastVideo/FastWan-QAD-1.3B-SA2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/FastWan-QAD-1.3B-SA2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FastVideo/FastWan-QAD-1.3B-SA2", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files1234567---license: apache-2.0---# FastWan-QAD-1.3B-SA2NVFP4 linear layers with SageAttention2++1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677---license: apache-2.0pipeline_tag: text-to-videolibrary_name: diffusersarxiv: 2603.00040---# FastWan-QAD-1.3B-SA2<p align="center"><img src="https://raw.githubusercontent.com/hao-ai-lab/FastVideo/main/assets/logos/logo.svg" width="200"/></p><div><div align="center"><a href="https://github.com/hao-ai-lab/FastVideo">Github</a> |<a href="https://haoailab.com/blogs/fastwan-qad/">Blog</a> |<a href="https://hao-ai-lab.github.io/FastVideo">Documentation</a></div></div>## IntroductionFastWan-QAD-1.3B-SA2 is a variant of FastWan-QAD-1.3B that swaps the SageAttention3 FP4 backend for **SageAttention2++**, trading a small amount of speed for improved visual quality. It generates a 5-second 480p video in approximately **2 seconds** on an RTX 5090.Like all FastWan-QAD models, it is built on [Wan-AI/Wan2.1-T2V-1.3B-Diffusers](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B-Diffusers) and trained with **quantization-aware distillation (QAD)** for 3-step inference with NVFP4 linear layers.> **Hardware requirement:** RTX 5090 (sm100+). NVFP4 linear layers require Blackwell-native support. See [FastWan-QAD-FP8-1.3B](https://huggingface.co/FastVideo/FastWan-QAD-FP8-1.3B) for RTX 4090 compatibility.---## Model Overview- **3-step inference** via quantization-aware distillation- **NVFP4 linear layers** for Blackwell GPU throughput- **SageAttention2++ backend** for attention computation- Trained at **480p (832×480)** resolution, 81 frames (5 seconds at 16 fps)- No classifier-free guidance at inference time- Fast decoding via [TAEHV](https://github.com/madebyollin/taehv) tiny autoencoder## Performance| Model | Hardware | Generation Time (5s 480p) ||---|---|---|| FastWan-QAD-1.3B | RTX 5090 | ~1.78s || FastWan-QAD-1.3B-SA2 | RTX 5090 | **~2.0s** || FastWan-QAD-FP8-1.3B | RTX 4090 | ~3.4s || TurboDiffusion | RTX 5090 | 6.10s || LightX2V | RTX 5090 | 6.91s |## Inference```bash# Install Tiny Autoencodergit clone https://github.com/madebyollin/taehv.gituv pip install -e taehv/git clone https://github.com/hao-ai-lab/FastVideo.gitcd FastVideouv pip install -e .cd examples/inference/optimizationspython nvfp4_sa2_wan_2_1_3b.py --taehv-checkpoint /path/to/taehv/taew2_1.pth```## TrainingMore details coming soon.---It would be greatly appreciated if you cite our paper:```@article{Zhang2026AttnQAT,title={Attn-QAT: 4-Bit Attention With Quantization-Aware Training},author={Zhang, Peiyuan and Noto, Matthew and Tan, Wenxuan and Jiang, Chengquan and Lin, Will and Zhou, Wei and Zhang, Hao},journal={arXiv preprint arXiv:2603.00040},year={2026}}```
README.md+71-1