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.

  1. 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-bit UE4M3 scale (weight_scale) plus one per-tensor FP32 scale (weight_scale_2).
  2. Scale-invariant SmoothQuant + AWQ search: For every layer, tela quantize --format nvfp4 normalizes 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-channel smooth_scale (1.6 MB total) fuses directly into tela's norm and quantizer kernels with zero extra launches.
  3. 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 MB across 200 layers) before 4-bit rounding.
  4. 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 reaches 24.67 dB mean Ref2VA NVFP4 fidelity (0.815 SSIM) and 30.06 dB on 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 dB is a tight visual match on diffusion video.
  • SSIM (0..1, higher is better): structural and facial similarity to the INT8 Oracle (1.0 is 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.

Motion Guide INT8 Oracle · 21 GB W4A8 · 11.8 GB 6 GB Stream NVFP4 · 12.8 GB
1 · Full-Body Steps
1 · Full-Body Steps
5.17 s · 124 f · 736×1312
1 · Full-Body Steps INT8
4090 · Oracle
DiT 55.9 s
1 · Full-Body Steps W4A8
4090 · 21.46 dB · LPIPS 0.141
DiT 73.8 s
1 · Full-Body Steps 6 GB
4090 · 21.50 dB · 0 OOM
Peak 6.0 GiB
1 · Full-Body Steps NVFP4
PRO 6000 · 22.23 dB · SSIM 0.695
DiT 36.6 s
2 · crush
2 · crush
3.0 s · 73 f · 736×1312
2 · crush INT8
4090 · Oracle
DiT 27.5 s
2 · crush W4A8
4090 · 17.87 dB · LPIPS 0.232
DiT 33.6 s
2 · crush 6 GB
4090 · 20.56 dB · 0 OOM
Peak 5.4 GiB
2 · crush NVFP4
PRO 6000 · 21.58 dB · SSIM 0.853
DiT 17.8 s
3 · Night Car
3 · Night Car
3.0 s · 73 f · 1120×864
3 · Night Car INT8
4090 · Oracle
DiT 28.0 s
3 · Night Car W4A8
4090 · 24.24 dB · LPIPS 0.137
DiT 34.4 s
3 · Night Car 6 GB
4090 · 26.15 dB · 0 OOM
Peak 6.0 GiB
3 · Night Car NVFP4
PRO 6000 · 30.06 dB · SSIM 0.951
DiT 18.2 s
4 · Alpine Ridge
4 · Alpine Ridge
3.0 s · 73 f · 1280×736
4 · Alpine Ridge INT8
4090 · Oracle
DiT 27.0 s
4 · Alpine Ridge W4A8
4090 · 20.95 dB · LPIPS 0.193
DiT 41.7 s
4 · Alpine Ridge 6 GB
4090 · 23.60 dB · 0 OOM
Peak 6.0 GiB
4 · Alpine Ridge NVFP4
PRO 6000 · 24.80 dB · SSIM 0.763
DiT 17.5 s

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.

Ref2VA 4 MP · W4A8 H3-Image 16.82 MP · INT8 H3-Image 16.82 MP · W4A8 H3-Image 16.82 MP · NVFP4
1 · Retro Diner · Cara face ref · 3552×4736
1 · Retro Diner 4 MP W4A8
4090 · 4.09 MP
1 · Retro Diner 16.82 MP INT8
4090 · 16.82 MP Oracle
1 · Retro Diner 16.82 MP W4A8
4090 · 15.10 dB · LPIPS 0.272
1 · Retro Diner 16.82 MP NVFP4
PRO 6000 · 14.46 dB · SSIM 0.737 · DiT 8.2 s
2 · Matcha Café · Cara face ref · 3552×4736
2 · Matcha Café 4 MP W4A8
4090 · 4.09 MP
2 · Matcha Café 16.82 MP INT8
4090 · 16.82 MP Oracle
2 · Matcha Café 16.82 MP W4A8
4090 · 18.09 dB · LPIPS 0.193
2 · Matcha Café 16.82 MP NVFP4
PRO 6000 · 17.68 dB · SSIM 0.831 · DiT 8.2 s
3 · Golden Hallway · Cara face ref · 3552×4736
3 · Golden Hallway 4 MP W4A8
4090 · 4.09 MP
3 · Golden Hallway 16.82 MP INT8
4090 · 16.82 MP Oracle
3 · Golden Hallway 16.82 MP W4A8
4090 · 15.80 dB · LPIPS 0.367
3 · Golden Hallway 16.82 MP NVFP4
PRO 6000 · 15.21 dB · SSIM 0.686 · DiT 8.1 s
4 · Boutique Flash · Cara face ref · 3552×4736
4 · Boutique Flash 4 MP W4A8
4090 · 4.09 MP
4 · Boutique Flash 16.82 MP INT8
4090 · 16.82 MP Oracle
4 · Boutique Flash 16.82 MP W4A8
4090 · 14.26 dB · LPIPS 0.349
4 · Boutique Flash 16.82 MP NVFP4
PRO 6000 · 11.81 dB · SSIM 0.598 · DiT 8.2 s
5 · Golden Hallway · Pure T2I · 3552×4736
5 · Golden Hallway 4 MP W4A8
4090 · 4.09 MP
5 · Golden Hallway 16.82 MP INT8
4090 · 16.82 MP Oracle
5 · Golden Hallway 16.82 MP W4A8
4090 · 19.84 dB · LPIPS 0.195
5 · Golden Hallway 16.82 MP NVFP4
PRO 6000 · 18.58 dB · SSIM 0.824 · DiT 7.3 s

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
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for sfumato-ai/MiniMax-H3-NVFP4

Quantized
(107)
this model

Papers for sfumato-ai/MiniMax-H3-NVFP4