Diffusers
Safetensors
MiniMax H3
video-generation
reference-to-video
text-to-audio-video
fastvideo
fasth3-omni
fp8
Instructions to use FastVideo/FastH3-Omni-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/FastH3-Omni-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/FastH3-Omni-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
Finalize FastH3 OmniRef release model card
Browse files
README.md
CHANGED
|
@@ -5,62 +5,42 @@ license_link: https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE
|
|
| 5 |
base_model: FastVideo/FastVideo-FastH3-Omni-8-Step-V1
|
| 6 |
tags:
|
| 7 |
- video-generation
|
| 8 |
-
- text-to-audio-video
|
| 9 |
- reference-to-video
|
| 10 |
-
-
|
| 11 |
- fastvideo
|
|
|
|
|
|
|
| 12 |
- fp8
|
| 13 |
---
|
| 14 |
|
| 15 |
# FastH3 OmniRef FP8
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
##
|
| 22 |
|
| 23 |
-
- The
|
| 24 |
-
- Activations are quantized dynamically per token at runtime.
|
| 25 |
-
- The remaining transformer tensors stay in BF16: AdaLN and timestep projections, embeddings, norms, VSA compression gates, and the token refiner.
|
| 26 |
-
- The text encoder, video VAE, audio VAE, schedulers, tokenizer, and processor are unchanged from the BF16 release.
|
| 27 |
-
- This is a post-training quantization export. No retraining is applied.
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|---|---|
|
| 33 |
-
| `transformer/`, `transformer_ref/` | Identical FP8 linears (q, k, v, out, fc_in, fc_out of all 50 blocks) plus BF16 norms, embeddings, gates, AdaLN, and token refiner |
|
| 34 |
-
| `text_encoder/` | NVFP4 Qwen3-VL text encoder |
|
| 35 |
-
| `vae/` | Dense light video VAE for reference encoding and decoding |
|
| 36 |
-
| `audio_vae/`, `scheduler/`, `audio_scheduler/`, `processor/`, `tokenizer/` | Unchanged from the BF16 release |
|
| 37 |
-
| `fastvideo_inference.json` | Eight-forward PDD contract, video/audio shifts 12/3, VSA 0.9 with 128-token tiles |
|
| 38 |
-
| `adaln_table.pt` | Precomputed AdaLN outputs for the fixed timestep ladder; skips loading the large AdaLN projections |
|
| 39 |
|
| 40 |
-
##
|
| 41 |
-
|
| 42 |
-
Use the OmniRef consumer profile with an FP8 model path. On a 24 GB card, enable layerwise DiT offloading.
|
| 43 |
-
|
| 44 |
-
```bash
|
| 45 |
-
python examples/inference/basic/basic_fasth3_omniref_pdd.py \
|
| 46 |
-
--model-path ./FastH3-OmniRef-FP8 \
|
| 47 |
-
--base-model-path ./FastH3-OmniRef-FP8 \
|
| 48 |
-
--composed-dir ./FastH3-OmniRef-FP8-composed \
|
| 49 |
-
--adaln-table ./FastH3-OmniRef-FP8/adaln_table.pt \
|
| 50 |
-
--image reference.png \
|
| 51 |
-
--prompt "a person on a sofa, lit by a warm lamp, speaking to camera" \
|
| 52 |
-
--profile rtx-4090
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
The `rtx-4090` profile selects FP8 linears, BF16 VSA attention on the 128-token contract, the dense video VAE, and a non-resident encoder. On Hopper or Blackwell data-center GPUs, the same profile applies; alternatively use no profile and disable FP4 attention.
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
| 60 |
-
- FP8 changes the numerical output relative to BF16, as expected for W8A8 execution.
|
| 61 |
-
- On a 24 GB card, the DiT does not fit without layerwise streaming. The example profile enables the validated offload path.
|
| 62 |
-
- The AdaLN table covers the shipped schedule and the reference layouts in the model card. Unsupported layouts fall back to the dense AdaLN projections when the table is not passed.
|
| 63 |
|
| 64 |
## License
|
| 65 |
|
| 66 |
-
|
|
|
|
| 5 |
base_model: FastVideo/FastVideo-FastH3-Omni-8-Step-V1
|
| 6 |
tags:
|
| 7 |
- video-generation
|
|
|
|
| 8 |
- reference-to-video
|
| 9 |
+
- text-to-audio-video
|
| 10 |
- fastvideo
|
| 11 |
+
- minimax-h3
|
| 12 |
+
- omniref
|
| 13 |
- fp8
|
| 14 |
---
|
| 15 |
|
| 16 |
# FastH3 OmniRef FP8
|
| 17 |
|
| 18 |
+
FP8 diffusion weights for FastH3 OmniRef, the eight-evaluation reference-conditioned video-and-audio model. This is the FastVideo-format FP8 variant of the [BF16 release](https://huggingface.co/FastVideo/FastVideo-FastH3-Omni-8-Step-V1).
|
| 19 |
|
| 20 |
+
[Release collection](https://huggingface.co/collections/FastVideo/fasth3-omniref) 路 [FastVideo inference guide](https://github.com/hao-ai-lab/FastVideo/blob/main/docs/inference/fasth3_omniref.md)
|
| 21 |
|
| 22 |
+
## Use with FastVideo
|
| 23 |
|
| 24 |
+
Follow the [OmniRef device and memory guide](https://github.com/hao-ai-lab/FastVideo/blob/main/docs/inference/fasth3_omniref.md#device-profiles). The FP8 transformer is useful on GPUs without FP4 tensor cores, including RTX 4090 and Hopper, and on Blackwell when FP8 is preferred. The RTX 4090 profile uses layerwise transformer offload and the dense video VAE.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
The bundled text encoder is NVFP4 and needs Blackwell FP4 kernels. On non-FP4 hardware, compose the transformer with compatible BF16 text-encoder components from MiniMax-H3 rather than selecting that bundled encoder. The guide explains model-directory composition and memory requirements.
|
| 27 |
|
| 28 |
+
For UniServe deployments on GB200/B200, RTX PRO 6000 Blackwell or Hopper, start from the [BF16 release](https://huggingface.co/FastVideo/FastVideo-FastH3-Omni-8-Step-V1) and follow the [UniServe guide](https://github.com/hao-ai-lab/uniserve/blob/main/docs/minimax_h3/minimax_h3.md). For Spark and RTX 5090 local inference, use the [NVFP4 QAD variant](https://huggingface.co/FastVideo/FastH3-OmniRef-NVFP4-QAD) with FastVideo's matching profiles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
## Contents
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
| Component | Purpose |
|
| 33 |
+
| --- | --- |
|
| 34 |
+
| `transformer_ref/` | FP8 reference-conditioned transformer with BF16 sensitive components |
|
| 35 |
+
| `transformer/` | Alternate directory containing the same transformer weights |
|
| 36 |
+
| `text_encoder/` | NVFP4 Qwen3-VL text and vision encoder; Blackwell only |
|
| 37 |
+
| `vae/`, `audio_vae/` | Video and audio VAEs |
|
| 38 |
+
| `scheduler/`, `audio_scheduler/`, `processor/`, `tokenizer/` | Sampling and input processing |
|
| 39 |
+
| `fastvideo_inference.json` | Eight-evaluation OmniRef inference configuration |
|
| 40 |
+
| `adaln_table.pt` | Precomputed modulation table for the supplied schedule |
|
| 41 |
|
| 42 |
+
FP8 quantization changes numerical output relative to BF16. These weights use the FastVideo FP8 layout; use the [FP8 ComfyUI variant](https://huggingface.co/FastVideo/FastH3-OmniRef-FP8-Comfy) for ComfyUI.
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
## License
|
| 45 |
|
| 46 |
+
Use of these weights is governed by the [MiniMax-H3 Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE).
|