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
Release model card for FastH3 Trim
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).1234567891011121314151617181920212223---license: otherbase_model: FastVideo/FastVideo-FastH3-8-Step-V2tags: [video-generation, text-to-video, audio, fastvideo, fp8, pruned]---# FastH3 Trim, 8-step, FP8, for the RTX 4090, RTX 3090 and smaller GPUsFastH3 Trim is an experimental, smaller version of [FastH3 V2](https://huggingface.co/FastVideo/FastVideo-FastH3-8-Step-V2):eight-step text-to-video with synchronized audio from 42 of the 50 MiniMax H3 transformer blocks. We removed the eightblocks whose removal changed video and audio predictions the least, replaced each block's AdaLN timestep projection witha shared rank-16 basis, and trained the result with eight-step DMD2 (checkpoint 300). Removing blocks makes the modelfaster and smaller but costs some quality; use FastH3 V2 when quality matters most.- **Sampling:** 8 DMD steps (999, 874, 749, 624, 500, 375, 250, 125), sparse attention keeping 20% of tiles.`fastvideo_inference.json` holds the schedule, which FastVideo reads automatically.- **Text encoder:** NVFP4 Qwen3-VL trimmed to the 50 layers H3 reads.- **VAE:** LynnReal lightweight video VAE with Kijai's INT8 weights; H3 audio VAE.Blog post: [FastH3 on Consumer Hardware](https://haoailab.com/blogs/fasth3-rtx/) 路 Code: [FastVideo](https://github.com/hao-ai-lab/FastVideo)- **Transformer:** 19.9 GiB. Attention and MLP linears in FP8 E4M3 with one scale per output channel; activations quantized per token at run time. Runs on the RTX 4090 and, with layerwise offload, within 16 GB and 12 GB.Full-quality counterpart in the same format: [FastVideo/FastVideo-FastH3-8-Step-V2-FP8](https://huggingface.co/FastVideo/FastVideo-FastH3-8-Step-V2-FP8).
README.md+20-9