Text-to-Video
Diffusers
Safetensors
MiniMax H3
video
audio
text-to-audio-video
distillation
dmd2
few-step
fastvideo
fasth3
preview
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
|
Download README.md from FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree: direct link, hf CLI and curl.
- Browser
- Download file 3.33 kB
-
https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree/resolve/main/README.md
- Command line
-
hf download hf://FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree/README.md
-
curl -L -o README.md https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree/resolve/main/README.md
3.33 kB
| license: other | |
| license_name: minimax-h3-community | |
| license_link: LICENSE | |
| base_model: MiniMaxAI/MiniMax-H3 | |
| library_name: diffusers | |
| pipeline_tag: text-to-video | |
| tags: | |
| - text-to-video | |
| - video | |
| - audio | |
| - text-to-audio-video | |
| - distillation | |
| - dmd2 | |
| - few-step | |
| - minimax-h3 | |
| - fastvideo | |
| - fasth3 | |
| - preview | |
| <p align="center"> | |
| <a href="https://github.com/hao-ai-lab/FastVideo"><img src="https://raw.githubusercontent.com/hao-ai-lab/FastVideo/main/assets/logos/logo.svg" width="320" alt="FastVideo"></a> | |
| </p> | |
| # FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree | |
| A dense-attention FastH3 Preview v1 ablation from | |
| [FastVideo](https://github.com/hao-ai-lab/FastVideo). It generates synchronized | |
| video and audio from text with four transformer forwards. This step-1000 model | |
| was 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 | |
| Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then use | |
| the CUDA 13 / Blackwell path below. It selects FastVideo's published CUDA | |
| kernel wheel instead of compiling the kernel locally. See the | |
| [installation guide](https://hao-ai-lab.github.io/FastVideo/getting_started/installation/) | |
| for other platforms. | |
| ```bash | |
| git clone https://github.com/hao-ai-lab/FastVideo.git | |
| cd FastVideo | |
| uv venv --python 3.12 --seed | |
| source .venv/bin/activate | |
| UV_TORCH_BACKEND=cu130 uv pip install \ | |
| --no-sources-package fastvideo-kernel \ | |
| -e ".[fasth3]" | |
| ``` | |
| ```bash | |
| FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN FASTVIDEO_FA4=1 \ | |
| 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. The | |
| default uses four GPUs; other supported GPU counts must divide H3's 56 | |
| attention heads. | |
| ## Scope | |
| This preview supports text-to-audio-video generation. FL2VA and Ref2VA were | |
| not distilled. Difficult motion, fine detail, and some audio may remain below | |
| the base MiniMax H3 model. This checkpoint inherits the | |
| [MiniMax H3 Community License](LICENSE). | |
| ## Acknowledgements | |
| We thank [Nuva Lab](https://nuvalab.ai/) for bringing production grounding to FastH3 through its experience with real-world creative video-agent workloads. Its production-aligned post-training insights help bridge open-source research to practical data-assisted distillation for commercial video workflows, with Omni Ref as the next focus. | |
| We thank the [NVIDIA FastGen](https://github.com/NVlabs/FastGen) team for the [DMD2](https://arxiv.org/abs/2405.14867) framework and H3 reference experiment that helped us align the score clock, modality shifts, and backward simulation. | |
| We also thank [MiniMax](https://huggingface.co/MiniMaxAI/MiniMax-H3) for releasing H3-Base, and the [vLLM project](https://vllm.ai/), [NVIDIA](https://www.nvidia.com/en-us/), and [MBZUAI](https://mbzuai.ac.ae/) for their continued sponsorship and support of [FastVideo](https://github.com/hao-ai-lab/FastVideo). | |