🎞️ Minimax-H3-Hybrid-DMAD-PDMD
The High-Speed, Low-VRAM 33B Foundation Model for MiniMax-H3 Video Generation
4–8 Step Accelerated Inference • Smooth S-Curve Hybrid Backbone • Native INT8 & W6A8 Quantization
Minimax-H3-Hybrid-DMAD-PDMD is an accelerated, multimodal reference-capable 33B video-generation foundation model engineered natively for ComfyUI.
It resolves the trade-off in the open-weights ecosystem between MiniMax-H3's FL2VA (high dynamic range, natural motion, but missing multi-reference conditioning) and Ref2VA (reference following, but prone to crushed contrast and dark shadow banding). By executing a Smooth S-Curve Hybrid AdaLN Merge, permanently fusing two distillation LoRAs (0.85× DMAD + 0.333× PDMD), and applying low-rank SVD pruning, this model runs generation workflows in 4 to 8 steps on consumer GPUs.
?? Model Releases & Formats
Available in two precision tiers tailored for consumer hardware:
| File Name | Format | Precision | File Size | Recommended Hardware | Minimum VRAM |
|---|---|---|---|---|---|
Minimax-H3-Hybrid-DMAD-PDMD_w6a8_g32.safetensors | W6A8_G32 | 6-bit packed weights + FP8 E4M3 scale | ~14.95 GB | RTX 3090 / 4080 / 4090, Apple M-Series (32GB+) | 16 GB |
Minimax-H3-Hybrid-DMAD-PDMD_int8.safetensors | INT8 ConvRot | 8-bit symmetric tensorwise | ~18.89 GB | RTX 3090 / 4090 / A5000 / A6000, Apple M-Series (64GB+) | 24 GB (Fits 100% in VRAM) |
| Baseline Dense (Unpruned) | BF16 | 16-bit Float | ~61.70 GB | A100 (80GB) / H100 | >64 GB |
[!TIP] Which one should you pick?
- Choose W6A8_G32 (14.95 GB) if you want maximum VRAM savings and run on a 16 GB card (like an RTX 4080 or RTX 4070 Ti Super 16GB). It uses
comfy-kitchen's sub-byte bitpacking to reduce weight size with near-lossless reconstruction.- Choose INT8 ConvRot (18.89 GB) if you have a 24 GB card (RTX 3090 / 4090) and want standard INT8 execution.
??? Pipeline Architecture
+-----------------------------------+ +-----------------------------------+
¦ FL2VA Backbone (61.7 GB) ¦ ¦ Ref2VA Guidance (61.7 GB) ¦
¦ (Spatial Attention, MLPs, Norm) ¦ ¦ (Multimodal AdaLN Routing) ¦
+-----------------------------------+ +-----------------------------------+
¦ ¦
+----------------------------------------+
?
+-------------------------------+
¦ Smooth S-Curve Hybrid Merge ¦
¦ • Blocks 0–19: 100% FL2VA ¦
¦ • Blocks 20–34: Smoothstep S ¦
¦ • Blocks 35–49: 100% Ref2VA ¦
+-------------------------------+
?
+-------------------------------+
¦ Dual-Distillation LoRA Merge ¦
¦ • + 0.850 × DMAD (8-Step) ¦
¦ • + 0.333 × PDMD (4-Step v6) ¦
+-------------------------------+
?
+-------------------------------+
¦ Low-Rank Affine Time Pruning ¦
¦ (Dense 2688-D --? Rank-8 + ¦
¦ folded bias + adaln_t_table) ¦
+-------------------------------+
?
+-------------------------------------+
? ?
+-------------------------+ +-------------------------+
¦ INT8 ConvRot Compiler ¦ ¦ W6A8_G32 Sub-Byte ¦
¦ • Normalized H_256 Rot ¦ ¦ • Normalized H_256 ¦
¦ • FP32 Channel Scale ¦ ¦ • Uniform 6-bit codes ¦
¦ • Symmetric INT8 ¦ ¦ • FP8 E4M3 Rel Scale ¦
¦ [18.89 GB] ¦ ¦ [14.95 GB] ¦
+-------------------------+ +-------------------------+
?? Technical Highlights
1. Dual-Distillation Superposition (4–8 Steps)
- DMAD (Distribution Matching Adversarial Distillation) at 0.85 strength: Preserves high-frequency spatial textures, eye/skin micro-details, and motion sharpness.
- PDMD (Projected Distribution Matching Distillation v6) at 0.333 strength: Eliminates student–critic endpoint residuals and straightens flow trajectories down to 4 NFE.
- SwiGLU Vector Re-alignment: The PDMD adapter was integrated using native ComfyUI layout mapping ($[value; gate] \to [gate; up]$ row ordering).
2. Smooth S-Curve Hybrid AdaLN Injection
- Blocks 0–19 (100% FL2VA): Guarantees balanced exposure, uncrushed shadow dynamics, and stable background lighting.
- Blocks 20–34 (Cubic Smoothstep Transition): Blends between generation and reference pathways without latent shock: $$S(t) = t^2(3 - 2t), \quad t \in [0, 1]$$
- Blocks 35–49 (100% Ref2VA): Anchors identity consistency, multimodal character cues, and reference image guidance.
- Final Layer: 50/50 balance protecting the output color gamut while locking subject identity.
3. Native Quantization Options
- INT8 ConvRot: Multiplies weights by normalized Sylvester matrices ($H_{256}$) prior to quantization, diffusing activation spikes and fitting entirely in 24 GB VRAM.
- W6A8_G32 Layout: Quantizes rotated weights to uniform 6-bit codes bit-packed 4-into-3 bytes (
torch.int8), backed by per-group relative scales intorch.float8_e4m3fnand per-channel FP32 scales viacomfy-kitchen'sAsymW4A8Int8Layout.
?? Mathematical Formulations
1. Adaptive S-Curve Block Merging
For each transformer block $i \in {0, \dots, 49}$ and its AdaLN modulation projection $W^{(i)}$:
$$ \alpha(i) = \begin{cases} 0.0 & \text{if } i < 20 \ t^2(3 - 2t), \quad \text{where } t = \frac{i - 20}{35 - 20} & \text{if } 20 \le i < 35 \ 1.0 & \text{if } i \ge 35 \end{cases} $$
$$ W^{(i)}{\text{hybrid}} = (1 - \alpha(i)) \cdot W^{(i)}{\text{FL2VA}} + \alpha(i) \cdot W^{(i)}_{\text{Ref2VA}} $$
2. Dual-Distillation Weight Superposition
For every linear projection in the 50 DiT blocks and 2 Token Refiner blocks (208 total modules):
$$ W_{\text{fused}} = W_{\text{hybrid}} + 0.85 \cdot \left( B_{\text{DMAD}} A_{\text{DMAD}} \cdot \frac{\alpha_{\text{DMAD}}}{r_{\text{DMAD}}} \right) + 0.333 \cdot \left( B_{\text{PDMD}} A_{\text{PDMD}} \cdot \frac{\alpha_{\text{PDMD}}}{r_{\text{PDMD}}} \right) $$
3. Orthogonal Hadamard ConvRot Rotation
Linear weights $W \in \mathbb{R}^{N \times K}$ (where $K \pmod{256} = 0$) are rotated using the Kronecker power of the basic Hadamard matrix $H_4$:
$$ H_4 = \frac{1}{2} \begin{pmatrix} 1 & 1 & 1 & -1 \ 1 & 1 & -1 & 1 \ 1 & -1 & 1 & 1 \ -1 & 1 & 1 & 1 \end{pmatrix}, \qquad H_{256} = H_4^{\otimes 4} $$
$$ W_{\text{rot}} = \left( W.\text{view}\left(N, \frac{K}{256}, 256\right) \cdot H_{256}^T \right).\text{reshape}(N, K) $$
4. Quantization Layouts
Option A: INT8 ConvRot
$$ s_i = \max\left( \frac{\max_j |W_{\text{rot}, ij}|}{127.0}, , 10^{-30} \right), \qquad Q_{ij} = \text{clamp}\left( \left\lfloor \frac{W_{\text{rot}, ij}}{s_i} \right\rceil, -128, 127 \right) \in \text{int8} $$
Option B: W6A8_G32 (Sub-Byte 6-Bit + FP8 Group Scale)
- Channel Scale: $$s_{\text{channel}, i} = \max_j |W_{\text{rot}, ij}|$$
- Group Relative Scale ($G = 32$): $$s_{\text{rel}, i, g} = \text{quantize}{\text{fp8_e4m3}}\left( \frac{\max{k \in [0, 31]} |W_{\text{rot}, i, 32g + k}|}{s_{\text{channel}, i}} \right)$$
- Uniform 6-bit Quantization: $$q_{i, j} = \text{clamp}\left( \left\lfloor \frac{W_{\text{rot}, i, j}}{\frac{1}{31} \cdot s_{\text{rel}, i, \lfloor j/32 \rfloor} \cdot s_{\text{channel}, i}} \right\rceil, -32, 31 \right)$$
- Packed 4 $\times$ 6-bit codes into 3 bytes of
torch.int8$\left[N, \frac{3K}{4}\right]$.
?? Lineage & Attribution
| Component | Source Model / Artifact | Original Authors / Citations | Role in Hybrid |
|---|---|---|---|
| Base Model 1 | minimax_h3_fl2va_bf16 | MiniMax AI & Comfy-Org | Primary spatial/motion backbone (Blocks 0–34). |
| Base Model 2 | minimax_h3_ref2va_bf16 | MiniMax AI & Comfy-Org | Reference-guidance AdaLN pathways (Blocks 20–49). |
| LoRA 1 | dmad_minimax_h3_8step_full_critic_comfyui | Zhengming Yu et al. (DMAD) | High-frequency detail preservation @ 0.85 strength. |
| LoRA 2 (Original) | pdmd2026/pdmd_4NFE_lora | Zimo Wang, Junkun Yuan et al. (arXiv:2609.35768) | Projected Distribution Matching Distillation algorithm. |
| LoRA 2 (Adapter) | minimax_h3_pdmd_4nfe_comfyui_v6 | Iwannapose | ComfyUI SwiGLU-remapped adapter @ 0.333 strength. |
| Pruning Geometry | adaln_affine.safetensors | Pedro Cuenca (multimodalart) | Canonical SVD basis/mean for low-rank AdaLN folding. |
?? Recommended Inference Parameters
[!WARNING] Because this model contains fused distillation vectors, do not use standard 30–50 step settings or high CFG values. Doing so will cause over-saturation and burned highlights.
Steps: 6 to 8 (Optimal Quality) | 4 steps (Fast Preview) | 10 steps (Maximum Detail)
CFG (Guidance Scale): 1.0 to 1.5 (Strict: Do NOT exceed 2.0)
Sampler: euler or euler_ancestral (Recommended) | uni_pc / res_multistep
Scheduler: simple or sgm_uniform | beta
Denoise: 1.0 (Full generation from text or first frame)
Shift: 12.0 / 3.0 (Base MiniMax scheduler default)
??? Step-by-Step ComfyUI Setup
1. Directory Structure
Download your chosen precision variant and place it into your ComfyUI models directory:
ComfyUI/
+-- models/
¦ +-- diffusion_models/
¦ ¦ +-- Minimax-H3-Hybrid-DMAD-PDMD_w6a8_g32.safetensors # <-- 14.95 GB (Recommended)
¦ ¦ +-- Minimax-H3-Hybrid-DMAD-PDMD_int8.safetensors # <-- 18.89 GB
¦ +-- vae/
¦ ¦ +-- minimax_h3_video_vae_fp16.safetensors
¦ +-- text_encoders/
¦ +-- qwen2.5_vl_7b_clip_fp16.safetensors
2. Node Configuration
- Load Diffusion Model: Connect either
Minimax-H3-Hybrid-DMAD-PDMD_w6a8_g32.safetensorsorMinimax-H3-Hybrid-DMAD-PDMD_int8.safetensors.- ComfyUI automatically detects the internal metadata marker and activates the optimized
comfy-kitchenexecution kernels.
- ComfyUI automatically detects the internal metadata marker and activates the optimized
- Dual VAE Loader: Connect the MiniMax Video VAE and Audio VAE.
- Text Encoder: Attach Qwen2.5-VL (or Qwen3-VL).
- KSampler: Set
steps: 8,cfg: 1.0,sampler_name: euler,scheduler: simple.
?? Performance & VRAM Benchmarks
| Hardware Platform | Model Precision | Weight Size | Steps | Latency (720p, 5s, 24fps) | Peak VRAM |
|---|---|---|---|---|---|
| NVIDIA RTX 4090 (24GB) | Baseline Dense BF16 | ~61.70 GB | 30 steps | ~240s (OOM / CPU Swap) | >24 GB |
| NVIDIA RTX 4090 (24GB) | INT8 ConvRot | 18.89 GB | 8 steps | ~24s (10× faster) | 21.8 GB |
| NVIDIA RTX 4090 (24GB) | W6A8_G32 | 14.95 GB | 8 steps | ~21s (11.5× faster) | 17.9 GB |
| NVIDIA RTX 4080 (16GB) | W6A8_G32 | 14.95 GB | 6 steps | ~31s | 15.4 GB (Zero swap) |
| NVIDIA RTX 3060 (12GB) | W6A8_G32 | 14.95 GB | 4 steps | ~48s (Block Streaming) | 11.2 GB |
| Apple M3 Max (64GB) | W6A8_G32 | 14.95 GB | 8 steps | ~39s | ~18 GB Shared |
?? Troubleshooting & Pro Tips
[!NOTE]
- Plastic skin or edge halos? Your CFG is too high. Reduce CFG to
1.0or1.2. Student-distilled models operate best with minimal guidance.- Jerky motion or unstable limbs? Increase step count from 4 to 8. While PDMD converges at 4 NFE, DMAD's critic benefits from 6–8 integration steps.
- Audio missing? Ensure both the video and audio patch projections are linked in your ComfyUI workflow; this model preserves joint audiovisual generation.
?? Citations
@misc{wang2026pdmdprojecteddistributionmatching,
title={PDMD: Projected Distribution Matching Distillation for Video Diffusion Models},
author={Zimo Wang and Junkun Yuan and Angtian Wang and Haotian Yang and Canyu Zhang and Siyuan Yuan and Xingchang Huang and Bo Liu and Yizhi Wang and Yiding Yang and Chongyang Ma and Gordon Guocheng Qian},
year={2026},
eprint={2609.35768},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2609.35768}
}
@article{yu2026dmad,
title={Distribution Matching Adversarial Distillation for Fast Video Generation},
author={Zhengming Yu and others},
journal={arXiv preprint},
year={2026}
}
@misc{minimax2025h3,
title={MiniMax-H3 (Hailuo) Joint Audio-Video Diffusion Model},
author={MiniMax AI Team},
year={2025},
publisher={Comfy-Org},
howpublished={\url{https://huggingface.co/Comfy-Org/MiniMax-H3}}
}