FastH3-V2
Collection
6 items • Updated • 9
How to use FastVideo/FastVideo-FastH3-8-Step-V2-NVFP4-Consumer 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/FastVideo-FastH3-8-Step-V2-NVFP4-Consumer", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]FastH3 V2 (8 distilled steps, video with synchronized audio) packaged for a single Blackwell GPU (RTX 5090, RTX PRO 6000) or a DGX Spark.
fastvideo_inference.json holds the 8-step DMD schedule, which FastVideo reads automatically.The 50 AdaLN timestep projections are 26 GB in BF16. transformer/adaln_tables.pt (155 MB) holds their precomputed
outputs for the 8-step schedule, so FastVideo can skip loading them:
import os
from huggingface_hub import hf_hub_download
os.environ["FASTVIDEO_H3_ADALN_TABLE"] = hf_hub_download(
"FastVideo/FastVideo-FastH3-8-Step-V2-NVFP4-Consumer", "transformer/adaln_tables.pt")
The table covers only the shipped schedule (fastvideo_inference.json); FastVideo raises an error for other timesteps.
For multi-GPU data-center serving, use FastVideo/FastVideo-FastH3-8-Step-V2-NVFP4. Smaller, faster experimental variant: FastVideo/FastVideo-FastH3-Trim-8-Step-NVFP4.
Base model
MiniMaxAI/MiniMax-H3