MiniMax H3 + pi-H3, NVFP4 GPTQ (ComfyUI, RTX 50 series)
Quantized model files for fast MiniMax H3 video + audio generation with the pi-H3 4-step distillation in ComfyUI, made for NVIDIA RTX 50 series (Blackwell, sm_120) GPUs:
| File | Size | What it is |
|---|---|---|
diffusion_models/minimax_h3_fl2va_pruned_pih3_4step_nvfp4_fc2int8_gptq_bf16cal.safetensors | 14.3 GB | FL2VA DiT with the pi-H3 4-step DWD adapter merged; qkv / out / fc1 NVFP4 W4A4, fc2 INT8 ConvRot W8A8, GPTQ |
loras/pi_h3_4step_dwd_head_gptq_int8.safetensors | 0.6 GB | the DWD pixel head of the pi-H3 4-step adapter, INT8 ConvRot GPTQ |
text_encoders/qwen3vl_32b_minimax_h3_nvfp4_gptq.safetensors | 16.4 GB | the H3 text encoder (Qwen3-VL-32B based), NVFP4 weights with GPTQ, runs as W4A16 |
The video and audio VAEs are the original ones from
Comfy-Org/MiniMax-H3 (vae/minimax_h3_video_vae_fp16.safetensors,
vae/minimax_h3_audio_vae_fp32.safetensors).
Install everything (Windows): sergqwer/ComfyUI-MiniMax-H3-pi-H3-NVFP4 — one installer sets up a pinned ComfyUI v0.46.3, PyTorch 2.13 + CUDA 13.0, Triton, the custom nodes, these models and the workflow.
Speed
RTX 5090 (32 GB), 1344x768, 24 fps, with audio, 4 steps, warm (models loaded, same clip length as the previous run):
| Setup | 5 s clip | 10 s clip |
|---|---|---|
| pi-H3 4-step on the BF16 DiT (reference, partly offloaded) | 37-41 s | 81-89 s |
| pi-H3 4-step, INT8 ConvRot DiT + Spark-H3 top-k 0.20 (the usual pi-H3 workflow) | — | 45-50 s |
| this: NVFP4 GPTQ DiT + fused kernels + Spark top-k schedule | ~12.5 s | ~27.5 s |
Longer clips work too (20 s ~80 s, 30 s ~170 s on the same card). The first run at a new clip length compiles Triton kernels once (5-60 s); a new prompt re-runs the text encoder (+~3 s).
Quality
Measured against the BF16 model with teacher forcing: at every sampling step the quantized model gets exactly the input the BF16 run had, so the numbers show each step's own error, not the divergence of two free trajectories. 5 s clips, 1344x768, two prompts; error = |out - out_BF16| / |out_BF16| per step, PSNR of the final DWD pixels:
| step 1 | step 2 | step 3 | step 4 | pixels vs BF16 | |
|---|---|---|---|---|---|
| BF16 vs BF16 (BF16 itself is not deterministic: the noise floor) | 0 | 0.30 | 0.14 | 0.10 | 33.4 dB |
| first version: NVFP4 GPTQ with Hessians from the INT8 model | 0.74 | 0.37 | 0.21 | 0.13 | 31.4 dB |
| this DiT, Spark top-k 0.20 | 0.53 | 0.33 | 0.20 | 0.13 | 31.7 dB |
| this DiT, Spark top-k 0.10 | 0.58 | 0.36 | 0.21 | 0.14 | 30.5 dB |
The production workflow uses top-k 0.05 on steps 1-2 and 0.10 on steps 3-4: the pixels match the 0.10 row (0.05 on the last two steps cost 1.6 dB and was rejected). Frames are as clean as the BF16 ones; differences are in fine detail only.
How the files were made:
- GPTQ from BF16, not from an already quantized model: Hessians (X^T X of every linear input) were collected from the BF16 DiT + BF16 pi-H3 adapter on the 4 real pi-H3 sampling steps (16 clips x 5 s); the BF16 weights were then quantized column by column with error compensation.
- Mixed format: fc2 sees the SwiGLU output with large outliers; there NVFP4 had 10-14x the output error of INT8 ConvRot (0.039-0.052 vs 0.0028-0.0056) at the same speed, so fc2 stays INT8. Layers kept in BF16 by Comfy-Org's INT8 release stay BF16 here too.
- Text encoder: GPTQ NVFP4 weights, W4A16 at runtime. Hidden state of layer 50 vs BF16 on 42 held-out H3 prompts: relative L2 0.023 (the official NVFP4 AWQ file: 0.141), cosine 0.9992 (AWQ 0.9962).
- DWD head: INT8 ConvRot GPTQ from the BF16 adapter, output error 0.0010; the pixels are limited by the DiT, not by the head.
Use
ComfyUI v0.46.3 with ComfyUI-piFlow,
ComfyUI-Spark-H3 0.2.0 and
ComfyUI-MiniMax-H3-pi-H3-NVFP4 — see that repository
for the installer and the workflow. Keep steps = 4 (the 4-step adapter is merged into the DiT) and load
pi_h3_4step_dwd_head_gptq_int8 in the pi-H3 adapter slot, not the full adapter.
Requirements: an RTX 50 series / Blackwell GPU (NVFP4 tensor cores, sm_120), a driver with CUDA 13.0+, tested with 32 GB of VRAM.
License
These files are Model Derivatives of MiniMax H3 and are distributed under the MiniMax H3 Community License Agreement (see LICENSE.md and NOTICE):
- MiniMax H3 is licensed under the MiniMax H3 Community License Agreement, Copyright © 2026 MiniMax. All Rights Reserved.
- The license does not apply in the European Union, the United Kingdom, the Republic of Korea and the United States of America.
- Use must follow the Acceptable Use Policy (Exhibit A of the license); for example, machine-generated content must be disclosed as such when published. By downloading or using these files you agree to the license terms, including the use restrictions of Section V and Exhibit A, and you must bind anyone you pass them to the same terms.
- The files are modified: each one carries a
modified_noticein its safetensors metadata.
Credits: MiniMax (MiniMax H3), Comfy-Org (ComfyUI repackaging and VAEs), Lakonik / Hansheng Chen (pi-H3, ComfyUI-piFlow), Qwen (Qwen3-VL).