Text-to-Video
Diffusers
Safetensors
MiniMaxH3ModularPipeline
video-generation
audio
fastvideo
fp8
pruned
Run this model with HF Jobs
Run FastVideo/FastVideo-FastH3-Trim-8-Step-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/FastVideo/FastVideo-FastH3-Trim-8-Step-FP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FastVideo/FastVideo-FastH3-Trim-8-Step-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use FastVideo/FastVideo-FastH3-Trim-8-Step-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/FastVideo-FastH3-Trim-8-Step-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-Trim-8-Step-FP8", 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 files123456789101112# FastH3 Pruned 8-Step (FP8, checkpoint 300)
W8A8 FP8 (E4M3) post-training quantization of the transformer: `attn.to_q/k/v`, `attn.to_out.0`, `ff.net.0.proj`, `ff.net.2` in all 42 blocks store E4M3 weights with per-output-channel `weight_scale` (float32); activations are quantized dynamically at run time. All other tensors are bf16. Mean weight relative error 2.6%; clips were indistinguishable from bf16 in internal review.
## Model- MiniMax-H3 student pruned from 50 to **42 transformer blocks** (removed blocks 6, 7, 9, 13, 15, 16, 22, 23), rank-16 AdaLN, trained with 8-step DMD (timesteps 999, 874, 749, 624, 500, 375, 250, 125) and VSA sparse attention (sparsity 0.8, 64-token tiles).- Training checkpoint 300 of run `s42-r16-dmd8-vsa80` (selected over 800 for prompt adherence on a multi-seed evaluation).- Sampling contract: video/audio scheduler shift 10/3, guidance 1.0, VSA_sparsity 0.8, VSA_tile_size 64.- `text_encoder` is not included; it is identical to the one in `FastVideo/FastVideo-FastH3-8-Step-V2`.
**Status: internal, private evaluation build.** License: MiniMax H3 Community License (inherited).README.mdAdded+12