FastH3-V2
Collection
6 items • Updated • 9
How to use FastVideo/FastVideo-FastH3-8-Step-V2-FP8 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-FP8", 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) with an FP8 transformer for GPUs without FP4 tensor cores, such as the RTX 4090 and RTX 3090, and for 16 GB and 12 GB memory tiers.
fastvideo_inference.json holds the 8-step DMD schedule, which FastVideo reads automatically.Source weights: FastVideo/FastVideo-FastH3-8-Step-V2. Smaller, faster experimental variant: FastVideo/FastVideo-FastH3-Trim-8-Step-FP8.
Base model
MiniMaxAI/MiniMax-H3