Text-to-Video
Diffusers
Safetensors
MiniMax H3
video
audio
text-to-audio-video
distillation
dmd2
few-step
fastvideo
fasth3
preview
Run this model with HF Jobs
Run FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree 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-4-step-Preview-v1-Dense-DataFree. 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-4-step-Preview-v1-Dense-DataFree 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-4-step-Preview-v1-Dense-DataFree with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree 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-4-step-Preview-v1-Dense-DataFree", 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
[docs] simplify FastH3 model card
Browse files24 unmodified lines25262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610724 unmodified lines# FastVideo-FastH3-4-step-Preview-v1-Dense-DataFreeFastH3 4-Step Preview v1 checkpoint from FastVideo. This variant is the`dmd2_sp4_fsdp32_v12_datafree_mixed_dense_fa4` data-free DMD2 MiniMax-H3student at training step 1000. It generates synchronized video and audio withfour transformer forwards and uses dense FlashAttention.See the complete [FastH3 4-Step Preview v1collection](https://huggingface.co/collections/FastVideo/fastvideo-fasth3).## Checkpoint identity- Training run: `20260826T014507Z-v12-datafree-dense-fa4-r300-rack2`- Lineage parent: `20260825T010407Z-v12-datafree-dense-fa4`- W&B: [bdpc9m5x](https://wandb.ai/wlsaidhi/h3-dmd2-vsa/runs/bdpc9m5x)- Step: 1000- Transformer content SHA-256: `3f56129acb9749f2ae4e52bab176c09406bf027d68c6f020cf5ff99e651b1609`- Checkpoint metadata SHA-256: `a1ae1a4ec117b5bc79f61da4ee5d4003694f27dc6dfe55e9166b59d2b387e6b9`- FastVideo execution commit: `aa6e6c1c1e15f879011a47996c7d6bc8381eaf89`- Data commit: `b92be606a439c67006220459df236d18c48fd38c3e11f4771d21fe0d078a3371``checkpoint_content.json` records every indexed transformer shard and digest.`checkpoint_metadata.json` preserves the source training configuration.## ContentsThis is a self-contained Diffusers modular-pipeline package. The distilledbf16 student is under `transformer/`; the text encoder, tokenizer, processor,video VAE, audio VAE, and schedulers are unmodified MiniMax-H3 components.The `transformer_ref` component is not bundled because this student targetsT2AV. Its modular-index entry remains on `MiniMaxAI/MiniMax-H3`.## Exact FastVideo inference contractThe student was trained on the explicit ladder `[999, 749, 500, 250]`. Theseare four transformer forwards; do not replace the ladder with an arbitraryfour-point scheduler grid.```bashexport FASTVIDEO_DMD_DENOISING_STEPS=999,749,500,250export FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTNpython examples/inference/basic/basic_minimax_h3_t2v.py \--model-path FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree \--prompt '<MiniMax-H3 T2AV prompt>' \--steps 5 \--num-gpus 4```The five scheduler grid points execute the four trained jumps. Use guidancescale 1.0 and dense FlashAttention (the FA4 route on the pinned B200 stack).Compilation is an optional runtime optimization; first validate output parityon the pinned FastVideo commit.## Training summary- Method: data-free DMD2 with carried backward-simulation ODE rollouts.Training consumes text conditioning and student-generated latents ratherthan target video latents.- Student grid: `[999, 749, 500, 250]`.- Student attention: dense FlashAttention (the FA4 route on the pinned B200stack).- Global batch size: 64.- Student and critic learning rate: `2e-06` and`2e-06`.- Precision: fp32 training state and bf16 inference export.- Training topology: 32 B200 GPUs, SP=4,HSDP replicate=1 / shard=32.- Continuous score-clock shift: `2.4`; warp max: `0.999`.## Limitations- Intermediate checkpoint at step 1000 of a planned 4000-step run.- T2AV only; the reference-conditioned transformer was not distilled here.- Quality remains below base MiniMax-H3 on difficult motion, fine structure,and some audio details.- Sampling outside the trained ladder or attention geometry isoff-distribution.- Inherits the MiniMax H3 Community License and base-model limitations.Indexed student: 638 bf16 tensors / 66,245,985,792 logical bytes.24 unmodified lines2526272829303132333435363738394041424344454647484950515253545556575859606162636424 unmodified lines# FastVideo-FastH3-4-step-Preview-v1-Dense-DataFreeA dense-attention FastH3 Preview v1 ablation from[FastVideo](https://github.com/hao-ai-lab/FastVideo). It generates synchronizedvideo and audio from text with four transformer forwards. This step-1000 modelwas trained with data-free DMD2.[Blog](https://haoailab.com/blogs/fasth3-preview/) 路[Matching LoRA](https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-LoRA/tree/main/dense-datafree) 路[Recommended checkpoint](https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree) 路[FastH3 collection](https://huggingface.co/collections/FastVideo/fastvideo-fasth3)## Run with FastVideo```bashgit clone https://github.com/hao-ai-lab/FastVideo.gitcd FastVideouv venv --python 3.12source .venv/bin/activateUV_TORCH_BACKEND=cu130 uv pip install -e ".[fasth3]"``````bashFASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN \python examples/inference/basic/basic_minimax_h3_t2v.py \--model-path FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree \--prompt "your prompt" \--steps 5```Five scheduler points execute the trained four transformer forwards. Adjust`--num-gpus` for your setup.## ScopeThis preview supports text-to-audio-video generation. FL2VA and Ref2VA werenot distilled. Difficult motion, fine detail, and some audio may remain belowthe base MiniMax H3 model. This checkpoint inherits the[MiniMax H3 Community License](LICENSE).
README.md+26-69