File size: 6,873 Bytes
cbd3bfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
872853b
cbd3bfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25c0e3e
 
cbd3bfa
 
 
25c0e3e
 
cbd3bfa
 
 
 
 
 
 
 
 
25c0e3e
 
cbd3bfa
 
 
25c0e3e
 
cbd3bfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
---
license: other
license_name: minimax-h3-community-license
base_model_relation: quantized
pipeline_tag: text-to-video
library_name: diffusers
tags:
- video-generation
- text-to-video
- image-to-video
- audio-video-generation
- quantized
- 4-bit
- int4
- svdquant
- minimax-h3
- quantfunc
- comfyui
---

<div align="center" style="margin-top: 50px;">
  <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">
    <img src="https://raw.githubusercontent.com/QuantFunc/ComfyUI-QuantFunc/main/assets/logo.webp" width="300" alt="QuantFunc logo">
  </a>
</div>

<p align="center">
  ๐ŸŒ <a href="https://www.quantfunc.com/">Website</a> &nbsp;|&nbsp;
  ๐Ÿ™ <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">GitHub</a> &nbsp;|&nbsp;
  ๐Ÿค— <a href="https://huggingface.co/QuantFunc">Hugging Face</a> &nbsp;|&nbsp;
  ๐Ÿค– <a href="https://www.modelscope.cn/profile/QuantFunc">ModelScope</a> &nbsp;|&nbsp;
  ๐ŸŽจ <a href="https://civitai.com/user/quantfunc">Civitai</a> &nbsp;|&nbsp;
  ๐ŸŽฎ <a href="https://discord.gg/jCp9TpFWcn">Discord</a>
</p>

# MiniMax-H3-QuantFunc-4bit

**4x compression, quality held.**

QuantFunc INT4 cuts MiniMax H3's core weight precision from 16-bit to 4-bit. Character detail, style fidelity and fast motion stay clear and coherent, while H3's native video+audio generation is fully preserved.

In our internal FL2VA evaluation, QuantFunc INT4 vs the BF16 baseline (same prompt, same seed) measures ~**23.7 dB PSNR**.

## Showcase

All clips below were generated by MiniMax-H3-QuantFunc-4bit โ€” click a player to watch.

<table>
  <tr>
    <th>Live-action performance</th>
    <th>Animated chase</th>
  </tr>
  <tr>
    <td>
      <video controls preload="metadata" poster="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case1.webp" width="100%">
        <source src="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case1.mp4" type="video/mp4">
      </video>
    </td>
    <td>
      <video controls preload="metadata" poster="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case2.webp" width="100%">
        <source src="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case2.mp4" type="video/mp4">
      </video>
    </td>
  </tr>
  <tr>
    <th>High-speed car chase</th>
    <th>Stylized character</th>
  </tr>
  <tr>
    <td>
      <video controls preload="metadata" poster="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case3.webp" width="100%">
        <source src="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case3.mp4" type="video/mp4">
      </video>
    </td>
    <td>
      <video controls preload="metadata" poster="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case4.webp" width="100%">
        <source src="https://huggingface.co/QuantFunc/Minimax-H3-Quantfunc-4bit/resolve/main/assets/h3_case4.mp4" type="video/mp4">
      </video>
    </td>
  </tr>
</table>

> Poster frames are the first frame of each clip. Showcase spec: 896 ร— 1184, 124 frames, 24 FPS, ~5s.

## Same 124 frames, up to 3.19x FP8's per-step speed

On an **RTX 4090**, 768 ร— 768, 5s, 124 frames:

| Backend | Per-step time | Relative speed |
|---|---:|---:|
| **QuantFunc INT4** | **3.2s** | โ€” |
| INT8 ConvRot | 8.5s | **2.66x faster** |
| FP8 | 10.2s | **3.19x faster** |

> Per-step core-model inference time only โ€” excludes text encoder, VAE, audio processing and video saving. Actual speed varies with resolution, frame count, driver and software version.

## Swap one loader, keep the rest of your workflow

1. Install or update [ComfyUI-QuantFunc](https://github.com/QuantFunc/ComfyUI-QuantFunc).
2. Download the FL2VA 4-step or Ref2VA 8-step weights.
3. Swap your model loader for the QuantFunc loader and pick the matching weight file.

Prompts, reference images/videos, audio assets and the rest of your workflow nodes stay unchanged.

Both weight sets already have the acceleration LoRA, Token Refiner, INT4 Refiner and INT8 Conv Sidecar fused in โ€” no extra components to attach.

## RTX 20-series through GB300, one build covers it all

Runs on every NVIDIA **SM75+** GPU: RTX 20/30/40/50-series, A100, H100, H200, B100, B200, GB300.

4-bit weights significantly cut the weight-bandwidth cost of loading and inference, making MiniMax H3 much easier to run on consumer GPUs. Actual VRAM needs depend on resolution, frame count, reference-asset count and the rest of your workflow.

## Choose a model

| Variant | File | Size | Recommended steps | Use case |
|---|---|---:|---:|---|
| **FL2VA** | `minimax_h3_fl2va_4step_quantfunc_int4_r128.safetensors` | 12.37 GB | **4 steps** | Text-to-audio/video, first-frame, last-frame, first+last-frame control |
| **Ref2VA** | `minimax_h3_ref2va_8steps_quantfunc_int4_r128.safetensors` | 12.37 GB | **8 steps** | Multimodal reference generation from images, video and audio |

FL2VA supports zero, one or two input images; Ref2VA targets more complex multimodal reference scenarios. See the [official MiniMax H3 repo](https://github.com/MiniMax-AI/MiniMax-H3) for details on both modes.

Use the matching scheduler for the model. Both weight sets already carry the acceleration LoRA fused in โ€” no need to load it separately.

## Loading

Weights use QuantFunc's own sealed safetensors format (quantization parameters and metadata are sealed).

Load with **ComfyUI-QuantFunc** or the **QuantFunc inference engine** โ€” this is not a drop-in Diffusers checkpoint. (This repo declares `library_name: diffusers` purely so Hugging Face counts real downloads of the flat `.safetensors` files above โ€” see [HF's download-stats docs](https://huggingface.co/docs/hub/models-download-stats) โ€” not because the files load via the `diffusers` package.)

If the model isn't recognized or fails to load, update ComfyUI-QuantFunc to the latest version and restart ComfyUI.

## Technical details

- INT4 weights ร— INT4 activations (W4A4)
- SVDQuant rank 128, group size 64
- INT4 Token Refiner + INT4 Refiner
- INT8 Conv Sidecar
- FL2VA measured max relative output error from fp16 adaLN folding: ~**7.58e-4**
- Minimum GPU architecture: NVIDIA SM75

## Source & license

This repository distributes derived quantized weights produced from [MiniMax H3](https://github.com/MiniMax-AI/MiniMax-H3).

MiniMax H3 and its derivative weights follow the **MiniMax H3 Community License Agreement**. QuantFunc's quantization tooling and implementation follow their own respective licenses. Please read and comply with the original model's license terms before use.

## Community

- ๐ŸŒ [QuantFunc website](https://www.quantfunc.com/)
- ๐Ÿ™ [ComfyUI-QuantFunc on GitHub](https://github.com/QuantFunc/ComfyUI-QuantFunc)
- ๐ŸŽฎ [Discord](https://discord.gg/jCp9TpFWcn)