Run this model with HF Jobs
Run sfumato-ai/MiniMax-H3-NVFP4 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/sfumato-ai/MiniMax-H3-NVFP4. 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/sfumato-ai/MiniMax-H3-NVFP4 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.
MiniMax-H3-NVFP4
Pre-calibrated 12.83 GB native Blackwell NVFP4 (dit=nvfp4, E2M1 + UE4M3 block-16 + Rank-32 BF16 SVDQuant + Full-Hessian Schur-Replay GPTQ) DiT weights for MiniMax-H3 (Ref2VA, FL2VA, and MiniMax-H3-Image), built by Sfumato for tela.
Blackwell-only (sm_120 RTX 5090 / RTX PRO 6000 and sm_121 DGX Spark GB10). On RTX 30/40 GPUs, use sfumato-ai/MiniMax-H3-INT4.
Quickstart
# 1. Download into ~/.tela/models/diffusion_models/
huggingface-cli download sfumato-ai/MiniMax-H3-NVFP4 \
dit/minimax-h3-ref2va-nvfp4.safetensors \
dit/minimax-h3-fl2va-nvfp4.safetensors \
dit/minimax-h3-image-nvfp4.safetensors \
--local-dir /tmp/h3-nvfp4
mv /tmp/h3-nvfp4/dit/minimax-h3-*.safetensors "$HOME/.tela/models/diffusion_models/"
# 2. Run a 16.82 MP still on Blackwell (7.3-8.2 s DiT, 14.3 GiB VRAM)
tela render \
--checkpoint minimax-h3-image-nvfp4.safetensors --quant dit=nvfp4 --lora none --image-vae auto \
--ref face.png:640x768 --size 3552x4736 --seed 303 \
--prompt "Candid 35mm portrait of the woman from <Picture 1> in a golden-hour marble hallway." \
-o portrait_16mp.png
# 3. Higher-fidelity 8-bit MXFP8 activations (dit=nvfp4a8) on the exact same checkpoint
tela render \
--checkpoint minimax-h3-ref2va-nvfp4.safetensors --quant dit=nvfp4a8 --quant vae-video-dec=int8 \
--lora none --lora pika_h3_flex_ref2va_v1_bf16.safetensors:1.0:branch \
--ref sheet.png:0.92mp --ref guide.mp4 --audio forced --seed 1489 \
--prompt "Replace the person in <Video 1> with the woman from <Picture 1>." \
-o swap_nvfp4a8.mp4
How These Weights Were Quantized
All NVFP4 calibration runs natively in C++ and CUDA inside tela with zero Python dependencies.
- Native Blackwell dual-level FP4 layout: Each DiT weight matrix is stored in Blackwell
E2M1({0, ±0.5, ±1, ±1.5, ±2, ±3, ±4, ±6}), scaled per 16-element block by an unsigned 8-bitUE4M3scale (weight_scale) plus one per-tensor FP32 scale (weight_scale_2). - Scale-invariant SmoothQuant + AWQ search: For every layer,
tela quantize --format nvfp4normalizes empirical activation RMS (x_rms) and weight RMS (w_rms) by their geometric means and searches SmoothQuant and AWQ candidates to minimize joint weight and activation FP4 error. Per-channelsmooth_scale(1.6 MBtotal) fuses directly intotela's norm and quantizer kernels with zero extra launches. - Rank-32 BF16 SVDQuant branch: Following SVDQuant and HSVDQuant, each layer absorbs its top 32 Hessian-weighted singular directions into a small BF16 low-rank branch (
+300 MBacross 200 layers) before 4-bit rounding. - Full-Hessian Schur-Replay NVFP4 GPTQ + Four-Over-Six (
4/6): Using captured real-denoising[K x K]Hessians (H_bal = H_v / tr(H_v) + 0.15 * H_a / tr(H_a)for video+audio checkpoints), each 16-element block extends Four Over Six with GPTQ Cholesky error feedback across columns. This reaches24.67 dBmean Ref2VANVFP4fidelity (0.815SSIM) and30.06 dBon Night Car.
Quantize Your Own NVFP4 Checkpoint or LoRA
Starter calibration prompts live in sfumato-ai/tela/docs/calibration, and full methodology is in docs/calibration.md.
# Fast zero-dataset NVFP4 export with folded LoRA (~19 s on RTX PRO 6000)
tela quantize --format nvfp4 \
--in Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors \
--lora pika_h3_flex_ref2va_v1_bf16.safetensors:1.0 \
-o minimax-h3-ref2va-pika-nvfp4.safetensors
# Full-Hessian Schur-Replay NVFP4 GPTQ (after tela render --capture-hessians ./calib_hessians)
tela quantize --format nvfp4 \
--in Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors \
--hessians ./calib_hessians \
-o minimax-h3-ref2va-hessian-nvfp4.safetensors
Quality Results
All comparisons below use identical prompts, seeds, inputs, and audio. Every quantized run is scored against the 21 GB INT8 Oracle on the same GPU, with full per-scene JSON in metrics/metrics_r18_nvfp4_v2.json and metrics/quant_eval_summary.json.
- PSNR (dB, higher is better): pixel closeness to the 21 GB INT8 Oracle; above
20 dBis a tight visual match on diffusion video. - SSIM (
0..1, higher is better): structural and facial similarity to the INT8 Oracle (1.0is identical).
Perceptual Fidelity & VRAM Summary
| Task & Format | Hardware | Eval PSNR | Eval SSIM | Peak VRAM |
|---|---|---|---|---|
Ref2VA Swaps · NVFP4 (n=4 mean, W4A4-FP) |
RTX PRO 6000 (sm_120) |
24.67 dB |
0.8152 |
16.2–16.4 GiB |
Ref2VA Swaps · NVFP4A8 (n=4 mean, W4A8-FP) |
RTX PRO 6000 (sm_120) |
25.43 dB |
0.8387 |
16.2–16.4 GiB |
Ref2VA Swaps · W4A8 (n=4 mean, INT4) |
RTX 4090 (sm_89) |
21.13 dB |
0.7214 |
15.3–17.1 GiB |
H3-Image 16.82 MP · NVFP4 (n=5 mean, W4A4-FP) |
RTX PRO 6000 (sm_120) |
15.55 dB |
0.7351 |
14.1–14.3 GiB |
H3-Image 16.82 MP · NVFP4A8 (n=5 mean, W4A8-FP) |
RTX PRO 6000 (sm_120) |
16.21 dB |
0.7605 |
14.1–14.3 GiB |
H3-Image 16.82 MP · W4A8 (n=5 mean, INT4) |
RTX 4090 (sm_89) |
16.62 dB |
0.8116 |
13.3 GiB |
On Blackwell sm_120, dit=nvfp4 runs faster than the 21 GB INT8 Oracle (17.5–18.2 s vs 20.6 s DiT on 3 s Ref2VA swaps) while cutting VRAM by 7.7–7.9 GiB. dit=nvfp4a8 runs the exact same 12.83 GB checkpoint with 8-bit MXFP8 activations.
1 · Ref2VA Character Swaps (INT8 vs W4A8 vs 6 GB Stream vs NVFP4)
INT8, W4A8, and 6 GB Stream were rendered on RTX 4090; NVFP4 was rendered on RTX PRO 6000 (sm_120) and scored against the same-GPU INT8 Oracle. Click any GIF to open the full HD MP4 with audio.
2 · H3-Image Native 16.82 MP Stills (4 MP W4A8 vs 16.82 MP INT8 vs W4A8 vs NVFP4)
All 16.82 MP stills are decoded at native 3552×4736 with Ostris 2D Image VAE (0.74 s on RTX PRO 6000). Click any preview for the lossless PNG.
Checkpoints in This Repository
| File | Size | LFS SHA-256 | Precision | Role |
|---|---|---|---|---|
dit/minimax-h3-ref2va-nvfp4.safetensors |
12.83 GB |
060c38e988c97967 |
dit=nvfp4 |
Blackwell Ref2VA character swap and I2V (NVFP4, 24.67 dB mean) |
dit/minimax-h3-fl2va-nvfp4.safetensors |
12.83 GB |
3128710e4f35bf05 |
dit=nvfp4 |
Blackwell T2V, FL2VA first/last-frame, and synchronized speech (NVFP4) |
dit/minimax-h3-image-nvfp4.safetensors |
12.84 GB |
30a4154ec5f1ccf6 |
dit=nvfp4 |
Blackwell native 16.82 MP stills (7.3–8.2 s DiT at 14.1–14.3 GiB) |
License
Weights are derived from MiniMax-H3 and inherit the MiniMax-H3 license terms. Engine and calibration source code live in sfumato-ai/tela.
- Downloads last month
- 3,350
Model tree for sfumato-ai/MiniMax-H3-NVFP4
Base model
MiniMaxAI/MiniMax-H3






































