kelseye commited on
Commit
499a8b2
·
verified ·
1 Parent(s): f46f9b2

Upload model using ModelScope SDK

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +50 -10
  2. README.md +224 -0
  3. assets/minimax_h3_fl2va_dit_4bpp.mp4 +3 -0
  4. assets/minimax_h3_fl2va_dit_5bpp.mp4 +3 -0
  5. assets/minimax_h3_fl2va_dit_6bpp.mp4 +3 -0
  6. assets/minimax_h3_fl2va_dit_7bpp.mp4 +3 -0
  7. assets/minimax_h3_fl2va_dit_8bpp.mp4 +3 -0
  8. assets/minimax_h3_fl2va_dit_extreme_3.0bpp.mp4 +3 -0
  9. assets/minimax_h3_fl2va_dit_fp8_5bpp.mp4 +3 -0
  10. assets/minimax_h3_ref2va_dit_4bpp.mp4 +3 -0
  11. assets/minimax_h3_ref2va_dit_5bpp.mp4 +3 -0
  12. assets/minimax_h3_ref2va_dit_6bpp.mp4 +3 -0
  13. assets/minimax_h3_ref2va_dit_7bpp.mp4 +3 -0
  14. assets/minimax_h3_ref2va_dit_8bpp.mp4 +3 -0
  15. assets/minimax_h3_ref2va_dit_extreme_3.0bpp.mp4 +3 -0
  16. assets/minimax_h3_ref2va_dit_fp8_5bpp.mp4 +3 -0
  17. assets/minimax_h3_ref2va_reference_woman.png +3 -0
  18. assets/qwen_image_2.1_dit_4bpp.png +3 -0
  19. assets/qwen_image_2.1_dit_5bpp.png +3 -0
  20. assets/qwen_image_2.1_dit_6bpp.png +3 -0
  21. assets/qwen_image_2.1_dit_7bpp.png +3 -0
  22. assets/qwen_image_2.1_dit_8bpp.png +3 -0
  23. assets/qwen_image_2.1_dit_extreme_3.0bpp.png +3 -0
  24. assets/qwen_image_2.1_dit_fp8_5bpp.png +3 -0
  25. assets/z_image_turbo_dit_4bpp.jpg +3 -0
  26. assets/z_image_turbo_dit_5bpp.jpg +3 -0
  27. assets/z_image_turbo_dit_6bpp.jpg +3 -0
  28. assets/z_image_turbo_dit_7bpp.jpg +3 -0
  29. assets/z_image_turbo_dit_8bpp.jpg +3 -0
  30. assets/z_image_turbo_dit_extreme_2.3bpp.jpg +3 -0
  31. assets/z_image_turbo_dit_fp8_5bpp.jpg +3 -0
  32. configuration.json +1 -0
  33. models/MiniMax-H3/FL2VA/dit_4bpp.json +44 -0
  34. models/MiniMax-H3/FL2VA/dit_4bpp.safetensors +3 -0
  35. models/MiniMax-H3/FL2VA/dit_5bpp.json +44 -0
  36. models/MiniMax-H3/FL2VA/dit_5bpp.safetensors +3 -0
  37. models/MiniMax-H3/FL2VA/dit_6bpp.json +44 -0
  38. models/MiniMax-H3/FL2VA/dit_6bpp.safetensors +3 -0
  39. models/MiniMax-H3/FL2VA/dit_7bpp.json +44 -0
  40. models/MiniMax-H3/FL2VA/dit_7bpp.safetensors +3 -0
  41. models/MiniMax-H3/FL2VA/dit_8bpp.json +44 -0
  42. models/MiniMax-H3/FL2VA/dit_8bpp.safetensors +3 -0
  43. models/MiniMax-H3/FL2VA/dit_extreme_3.0bpp.json +306 -0
  44. models/MiniMax-H3/FL2VA/dit_extreme_3.0bpp.safetensors +3 -0
  45. models/MiniMax-H3/FL2VA/dit_fp8_5bpp.json +44 -0
  46. models/MiniMax-H3/FL2VA/dit_fp8_5bpp.safetensors +3 -0
  47. models/MiniMax-H3/REF2VA/dit_4bpp.json +44 -0
  48. models/MiniMax-H3/REF2VA/dit_4bpp.safetensors +3 -0
  49. models/MiniMax-H3/REF2VA/dit_5bpp.json +44 -0
  50. models/MiniMax-H3/REF2VA/dit_5bpp.safetensors +3 -0
.gitattributes CHANGED
@@ -1,35 +1,75 @@
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
  *.onnx filter=lfs diff=lfs merge=lfs -text
17
  *.ot filter=lfs diff=lfs merge=lfs -text
18
  *.parquet filter=lfs diff=lfs merge=lfs -text
19
  *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
  *.pt filter=lfs diff=lfs merge=lfs -text
23
  *.pth filter=lfs diff=lfs merge=lfs -text
24
  *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
 
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
11
  *.model filter=lfs diff=lfs merge=lfs -text
12
  *.msgpack filter=lfs diff=lfs merge=lfs -text
 
 
13
  *.onnx filter=lfs diff=lfs merge=lfs -text
14
  *.ot filter=lfs diff=lfs merge=lfs -text
15
  *.parquet filter=lfs diff=lfs merge=lfs -text
16
  *.pb filter=lfs diff=lfs merge=lfs -text
 
 
17
  *.pt filter=lfs diff=lfs merge=lfs -text
18
  *.pth filter=lfs diff=lfs merge=lfs -text
19
  *.rar filter=lfs diff=lfs merge=lfs -text
 
20
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
  *.tar.* filter=lfs diff=lfs merge=lfs -text
 
22
  *.tflite filter=lfs diff=lfs merge=lfs -text
23
  *.tgz filter=lfs diff=lfs merge=lfs -text
 
24
  *.xz filter=lfs diff=lfs merge=lfs -text
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *.tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ *.db* filter=lfs diff=lfs merge=lfs -text
29
+ *.ark* filter=lfs diff=lfs merge=lfs -text
30
+ **/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
31
+ **/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
32
+ **/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
33
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
34
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
35
+ *.gguf* filter=lfs diff=lfs merge=lfs -text
36
+ *.ggml filter=lfs diff=lfs merge=lfs -text
37
+ *.llamafile* filter=lfs diff=lfs merge=lfs -text
38
+ *.pt2 filter=lfs diff=lfs merge=lfs -text
39
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
40
+ *.npy filter=lfs diff=lfs merge=lfs -text
41
+ *.npz filter=lfs diff=lfs merge=lfs -text
42
+ *.pickle filter=lfs diff=lfs merge=lfs -text
43
+ *.pkl filter=lfs diff=lfs merge=lfs -text
44
+ *.tar filter=lfs diff=lfs merge=lfs -text
45
+ *.wasm filter=lfs diff=lfs merge=lfs -text
46
  *.zst filter=lfs diff=lfs merge=lfs -text
47
+ *tfevents* filter=lfs diff=lfs merge=lfs -textassets/minimax_h3_fl2va_dit_4bpp.mp4 filter=lfs diff=lfs merge=lfs -text
48
+ assets/minimax_h3_fl2va_dit_5bpp.mp4 filter=lfs diff=lfs merge=lfs -text
49
+ assets/minimax_h3_fl2va_dit_6bpp.mp4 filter=lfs diff=lfs merge=lfs -text
50
+ assets/minimax_h3_fl2va_dit_7bpp.mp4 filter=lfs diff=lfs merge=lfs -text
51
+ assets/minimax_h3_fl2va_dit_8bpp.mp4 filter=lfs diff=lfs merge=lfs -text
52
+ assets/minimax_h3_fl2va_dit_extreme_3.0bpp.mp4 filter=lfs diff=lfs merge=lfs -text
53
+ assets/minimax_h3_fl2va_dit_fp8_5bpp.mp4 filter=lfs diff=lfs merge=lfs -text
54
+ assets/minimax_h3_ref2va_dit_4bpp.mp4 filter=lfs diff=lfs merge=lfs -text
55
+ assets/minimax_h3_ref2va_dit_5bpp.mp4 filter=lfs diff=lfs merge=lfs -text
56
+ assets/minimax_h3_ref2va_dit_6bpp.mp4 filter=lfs diff=lfs merge=lfs -text
57
+ assets/minimax_h3_ref2va_dit_7bpp.mp4 filter=lfs diff=lfs merge=lfs -text
58
+ assets/minimax_h3_ref2va_dit_8bpp.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ assets/minimax_h3_ref2va_dit_extreme_3.0bpp.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ assets/minimax_h3_ref2va_dit_fp8_5bpp.mp4 filter=lfs diff=lfs merge=lfs -text
61
+ assets/minimax_h3_ref2va_reference_woman.png filter=lfs diff=lfs merge=lfs -text
62
+ assets/qwen_image_2.1_dit_4bpp.png filter=lfs diff=lfs merge=lfs -text
63
+ assets/qwen_image_2.1_dit_5bpp.png filter=lfs diff=lfs merge=lfs -text
64
+ assets/qwen_image_2.1_dit_6bpp.png filter=lfs diff=lfs merge=lfs -text
65
+ assets/qwen_image_2.1_dit_7bpp.png filter=lfs diff=lfs merge=lfs -text
66
+ assets/qwen_image_2.1_dit_8bpp.png filter=lfs diff=lfs merge=lfs -text
67
+ assets/qwen_image_2.1_dit_extreme_3.0bpp.png filter=lfs diff=lfs merge=lfs -text
68
+ assets/qwen_image_2.1_dit_fp8_5bpp.png filter=lfs diff=lfs merge=lfs -text
69
+ assets/z_image_turbo_dit_4bpp.jpg filter=lfs diff=lfs merge=lfs -text
70
+ assets/z_image_turbo_dit_5bpp.jpg filter=lfs diff=lfs merge=lfs -text
71
+ assets/z_image_turbo_dit_6bpp.jpg filter=lfs diff=lfs merge=lfs -text
72
+ assets/z_image_turbo_dit_7bpp.jpg filter=lfs diff=lfs merge=lfs -text
73
+ assets/z_image_turbo_dit_8bpp.jpg filter=lfs diff=lfs merge=lfs -text
74
+ assets/z_image_turbo_dit_extreme_2.3bpp.jpg filter=lfs diff=lfs merge=lfs -text
75
+ assets/z_image_turbo_dit_fp8_5bpp.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EntroPack Pre-Quantized Models
2
+
3
+ This repository releases pre-quantized weight packages produced by [**EntroPack**](https://github.com/modelscope/entropack) for representative SOTA diffusion models, to be used with the quantization features of [**DiffSynth-Studio**](https://github.com/modelscope/DiffSynth-Studio):
4
+
5
+ - **Z-Image-Turbo** (DiT + text encoder)
6
+ - **Qwen-Image-2.1** (DiT + text encoder)
7
+ - **MiniMax-H3** (two DiTs, FL2VA / Ref2VA, sharing the text encoder and video VAE)
8
+
9
+ For each model, both the **DiT and the text encoder** are provided at five fine-grained compression rates (4 / 5 / 6 / 7 / 8 bpp), plus two kinds of specialized packages:
10
+
11
+ - **`fp8@5`** (`dit_fp8_5bpp`): the weights are first **FP8 W8A8-quantized** (8-bit fp8 codes), then entropy-coded by EntroPack down to **5-bit storage** (actual bpp = 5); the forward pass uses **FP8 GEMM** for faster inference;
12
+ - **Extreme mixed-bit packages**: bit-rate is allocated per layer by sensitivity (the most sensitive layers keep a high bpp while the rest use a low bpp), pushing the whole model to a much lower bpp (Z-Image-Turbo 2.3bpp / Qwen-Image-2.1 3.0bpp / MiniMax-H3 3.0bpp).
13
+
14
+ All packages are built by entropy-coding the original weights directly with EntroPack; the metrics in the tables are weighted measurements on the package artifacts:
15
+
16
+ - **bpp** (bits per parameter): average bits per weight, `bpp = 8 × Σ storage bytes / Σ numel`.
17
+ - **Linear weight compression ratio**: derived from bpp, `ratio = bpp / 16`.
18
+ - **Weight reconstruction error** (DiT only): relative deviation between the dequantized and the original weights, `sqrt(Σ‖Wq−W‖²) / sqrt(Σ‖W‖²)`.
19
+ - **Registration entry**: each `*.safetensors` ships with a same-named `*.json`; see the end of this document for loading.
20
+
21
+ Validation outputs (images / videos) for each model can be found under `assets/`.
22
+
23
+ ## Update History
24
+
25
+ **2026-10-15 — checkpoints repacked under new key names.** All packages in this repository were repacked
26
+ into the single-entry container layout: a compressed layer's whole encoding now lives under one
27
+ `<layer>.weight.entropack_quant_state` tensor, and the W8A8 row scale under `<layer>.weight_quant_scale`.
28
+ The **updated** weights require **entropack 0.1.3**; the packages published before this update pair with
29
+ **entropack ≤ 0.1.2**.
30
+
31
+ ## Z-Image-Turbo
32
+
33
+ ### DiT
34
+
35
+ | name | file | actual bpp | weight reconstruction error | size |
36
+ |---|---|---|---|---|
37
+ | dit_4bpp | `models/Z-Image-Turbo/dit_4bpp.safetensors` | 4.024 | 7.013% | 2.88 GB |
38
+ | dit_5bpp | `models/Z-Image-Turbo/dit_5bpp.safetensors` | 5.046 | 3.630% | 3.62 GB |
39
+ | dit_6bpp | `models/Z-Image-Turbo/dit_6bpp.safetensors` | 6.055 | 1.854% | 4.34 GB |
40
+ | dit_7bpp | `models/Z-Image-Turbo/dit_7bpp.safetensors` | 7.070 | 0.971% | 5.07 GB |
41
+ | dit_8bpp | `models/Z-Image-Turbo/dit_8bpp.safetensors` | 8.060 | 0.532% | 5.78 GB |
42
+ | dit_fp8_5bpp | `models/Z-Image-Turbo/dit_fp8_5bpp.safetensors` | 5.041 | 4.648% | 3.62 GB |
43
+ | dit_extreme_2.3bpp | `models/Z-Image-Turbo/dit_extreme_2.3bpp.safetensors` | 2.319 | 24.007% | 1.66 GB |
44
+ | nf4 (bitsandbytes) (for comparison) | - | 4.127 | 9.415% | - |
45
+ | torchao int8 w8a16 (for comparison) | - | 8.012 | 1.078% | - |
46
+ | torchao fp8 w8a16 (for comparison) | - | 8.010 | 2.650% | - |
47
+
48
+ ### Text Encoder
49
+
50
+ | name | file | actual bpp | size |
51
+ |---|---|---|---|
52
+ | text_encoder_4bpp | `models/Z-Image-Turbo/text_encoder_4bpp.safetensors` | 4.028 | 2.43 GB |
53
+ | text_encoder_5bpp | `models/Z-Image-Turbo/text_encoder_5bpp.safetensors` | 5.051 | 2.86 GB |
54
+ | text_encoder_6bpp | `models/Z-Image-Turbo/text_encoder_6bpp.safetensors` | 6.058 | 3.29 GB |
55
+ | text_encoder_7bpp | `models/Z-Image-Turbo/text_encoder_7bpp.safetensors` | 7.061 | 3.71 GB |
56
+ | text_encoder_8bpp | `models/Z-Image-Turbo/text_encoder_8bpp.safetensors` | 8.041 | 4.13 GB |
57
+
58
+ ### Extreme Mixed-Bit Package
59
+
60
+ The extreme package `dit_extreme_2.3bpp` uses mixed quantization (per-layer-group bit allocation, weighted target = 2.3bpp): modulation / embedding / adaLN / final layers (38 layers) @ **4.0bpp**, attention output projections `*.attention.to_out.0` (34 layers) @ **3.0bpp**, and the remaining 204 layers @ **2.1939bpp**. Measured 2.319bpp / weight reconstruction error 24.0%.
61
+
62
+ ## Qwen-Image-2.1
63
+
64
+ ### DiT
65
+
66
+ | name | file | actual bpp | weight reconstruction error | size |
67
+ |---|---|---|---|---|
68
+ | dit_4bpp | `models/Qwen-Image-2.1/dit_4bpp.safetensors` | 4.027 | 7.064% | 3.34 GB |
69
+ | dit_5bpp | `models/Qwen-Image-2.1/dit_5bpp.safetensors` | 5.052 | 3.658% | 4.19 GB |
70
+ | dit_6bpp | `models/Qwen-Image-2.1/dit_6bpp.safetensors` | 6.066 | 1.868% | 5.02 GB |
71
+ | dit_7bpp | `models/Qwen-Image-2.1/dit_7bpp.safetensors` | 7.085 | 0.978% | 5.87 GB |
72
+ | dit_8bpp | `models/Qwen-Image-2.1/dit_8bpp.safetensors` | 8.068 | 0.536% | 6.68 GB |
73
+ | dit_fp8_5bpp | `models/Qwen-Image-2.1/dit_fp8_5bpp.safetensors` | 5.048 | 4.662% | 4.19 GB |
74
+ | dit_extreme_3.0bpp | `models/Qwen-Image-2.1/dit_extreme_3.0bpp.safetensors` | 3.023 | 14.247% | 2.50 GB |
75
+ | nf4 (bitsandbytes) (for comparison) | - | 4.127 | 9.428% | - |
76
+ | torchao int8 w8a16 (for comparison) | - | 8.008 | 1.095% | - |
77
+ | torchao fp8 w8a16 (for comparison) | - | 8.007 | 2.648% | - |
78
+
79
+ ### Text Encoder
80
+
81
+ | name | file | actual bpp | size |
82
+ |---|---|---|---|
83
+ | text_encoder_4bpp | `models/Qwen-Image-2.1/text_encoder_4bpp.safetensors` | 4.034 | 4.99 GB |
84
+ | text_encoder_5bpp | `models/Qwen-Image-2.1/text_encoder_5bpp.safetensors` | 5.062 | 5.97 GB |
85
+ | text_encoder_6bpp | `models/Qwen-Image-2.1/text_encoder_6bpp.safetensors` | 6.082 | 6.93 GB |
86
+ | text_encoder_7bpp | `models/Qwen-Image-2.1/text_encoder_7bpp.safetensors` | 7.092 | 7.89 GB |
87
+ | text_encoder_8bpp | `models/Qwen-Image-2.1/text_encoder_8bpp.safetensors` | 8.072 | 8.82 GB |
88
+
89
+ ### Extreme Mixed-Bit Package
90
+
91
+ The extreme package `dit_extreme_3.0bpp` uses mixed quantization (weighted target = 3.0bpp): modulation-related layers (`modulation.1`, `norm_out.linear`, `time_text_embed.*`, 4 layers) @ **4.0bpp**, and the remaining 228 layers @ **2.9855bpp**. Measured 3.023bpp / weight reconstruction error 14.2%.
92
+
93
+
94
+ ## MiniMax-H3
95
+
96
+ ### DiT
97
+
98
+ | name | file | actual bpp | weight reconstruction error | size |
99
+ |---|---|---|---|---|
100
+ | fl2va_dit_4bpp | `models/MiniMax-H3/FL2VA/dit_4bpp.safetensors` | 4.038 | 6.567% | 15.58 GB |
101
+ | ref2va_dit_4bpp | `models/MiniMax-H3/REF2VA/dit_4bpp.safetensors` | 4.038 | 6.567% | 15.58 GB |
102
+ | fl2va_dit_5bpp | `models/MiniMax-H3/FL2VA/dit_5bpp.safetensors` | 5.065 | 3.392% | 19.54 GB |
103
+ | ref2va_dit_5bpp | `models/MiniMax-H3/REF2VA/dit_5bpp.safetensors` | 5.065 | 3.392% | 19.54 GB |
104
+ | fl2va_dit_6bpp | `models/MiniMax-H3/FL2VA/dit_6bpp.safetensors` | 6.081 | 1.734% | 23.45 GB |
105
+ | ref2va_dit_6bpp | `models/MiniMax-H3/REF2VA/dit_6bpp.safetensors` | 6.082 | 1.732% | 23.46 GB |
106
+ | fl2va_dit_7bpp | `models/MiniMax-H3/FL2VA/dit_7bpp.safetensors` | 7.093 | 0.911% | 27.36 GB |
107
+ | ref2va_dit_7bpp | `models/MiniMax-H3/REF2VA/dit_7bpp.safetensors` | 7.095 | 0.908% | 27.37 GB |
108
+ | fl2va_dit_8bpp | `models/MiniMax-H3/FL2VA/dit_8bpp.safetensors` | 8.081 | 0.500% | 31.16 GB |
109
+ | ref2va_dit_8bpp | `models/MiniMax-H3/REF2VA/dit_8bpp.safetensors` | 8.079 | 0.500% | 31.16 GB |
110
+ | fl2va_dit_fp8_5bpp | `models/MiniMax-H3/FL2VA/dit_fp8_5bpp.safetensors` | 5.058 | 4.510% | 19.54 GB |
111
+ | ref2va_dit_fp8_5bpp | `models/MiniMax-H3/REF2VA/dit_fp8_5bpp.safetensors` | 5.058 | 4.510% | 19.54 GB |
112
+ | fl2va_dit_extreme_3.0bpp | `models/MiniMax-H3/FL2VA/dit_extreme_3.0bpp.safetensors` | 3.026 | 13.225% | 11.68 GB |
113
+ | ref2va_dit_extreme_3.0bpp | `models/MiniMax-H3/REF2VA/dit_extreme_3.0bpp.safetensors` | 3.026 | 13.225% | 11.68 GB |
114
+ | nf4 (bitsandbytes) (for comparison) | - | 4.127 | 9.151% | - |
115
+ | torchao int8 w8a16 (for comparison) | - | 8.010 | 0.984% | - |
116
+ | torchao fp8 w8a16 (for comparison) | - | 8.008 | 2.642% | - |
117
+
118
+ ### Text Encoder
119
+
120
+ | name | file | actual bpp | size |
121
+ |---|---|---|---|
122
+ | text_encoder_4bpp | `models/MiniMax-H3/text_encoder_4bpp.safetensors` | 4.039 | 13.20 GB |
123
+ | text_encoder_5bpp | `models/MiniMax-H3/text_encoder_5bpp.safetensors` | 5.073 | 16.21 GB |
124
+ | text_encoder_6bpp | `models/MiniMax-H3/text_encoder_6bpp.safetensors` | 6.102 | 19.20 GB |
125
+ | text_encoder_7bpp | `models/MiniMax-H3/text_encoder_7bpp.safetensors` | 7.127 | 22.18 GB |
126
+ | text_encoder_8bpp | `models/MiniMax-H3/text_encoder_8bpp.safetensors` | 8.095 | 24.99 GB |
127
+
128
+ ### Video VAE
129
+
130
+ | name | file | actual bpp | size |
131
+ |---|---|---|---|
132
+ | video_vae_4bpp | `models/MiniMax-H3/video_vae_4bpp.safetensors` | 4.020 | 1.47 GB |
133
+ | video_vae_5bpp | `models/MiniMax-H3/video_vae_5bpp.safetensors` | 5.040 | 1.76 GB |
134
+ | video_vae_6bpp | `models/MiniMax-H3/video_vae_6bpp.safetensors` | 6.045 | 2.04 GB |
135
+ | video_vae_7bpp | `models/MiniMax-H3/video_vae_7bpp.safetensors` | 7.055 | 2.33 GB |
136
+ | video_vae_8bpp | `models/MiniMax-H3/video_vae_8bpp.safetensors` | 8.056 | 2.61 GB |
137
+
138
+ ### Extreme Mixed-Bit Package
139
+
140
+ The extreme package `dit_extreme_3.0bpp` (identical configuration for FL2VA / Ref2VA) uses mixed quantization (weighted target = 3.0bpp): low-dimensional patch/final modules (`time_embedder.proj_in/proj_out`, `video/audio_patch_proj`, `condition_proj`, `final_layer.video_out/audio_out`, 7 layers) @ **8.0bpp**, modulation (`*.adaln_proj.linear`, 51 layers) and `attn.out_proj` (52 layers) @ **3.0bpp**, and the remaining 156 layers @ **2.9876bpp**. Measured 3.026bpp / weight reconstruction error 13.2%.
141
+
142
+ ## Usage
143
+
144
+ ### Install from Source
145
+
146
+ ```bash
147
+ # DiffSynth-Studio
148
+ git clone https://github.com/modelscope/DiffSynth-Studio.git
149
+ cd DiffSynth-Studio && pip install -e .
150
+
151
+ # EntroPack (pick the extra matching your CUDA version: cuda13 / cuda12)
152
+ git clone https://github.com/modelscope/entropack.git
153
+ cd entropack && pip install -e '.[cuda13]'
154
+ ```
155
+
156
+ ### Example Script (Z-Image-Turbo)
157
+
158
+ ```python
159
+ """
160
+ Z-Image-Turbo — EntroPack pre-quantized inference example.
161
+
162
+ Downloads the pre-quantized packages and their json sidecars from the
163
+ `DiffSynth-Studio/EntroPackPreQuants` model repo (each json is a ready-to-use
164
+ `MODEL_CONFIGS` entry), then runs inference.
165
+
166
+ Available packages (paths inside the prequant model repo):
167
+
168
+ dit:
169
+ models/Z-Image-Turbo/dit_4bpp.safetensors 4bpp
170
+ models/Z-Image-Turbo/dit_5bpp.safetensors 5bpp
171
+ models/Z-Image-Turbo/dit_6bpp.safetensors 6bpp
172
+ models/Z-Image-Turbo/dit_7bpp.safetensors 7bpp
173
+ models/Z-Image-Turbo/dit_8bpp.safetensors 8bpp
174
+ models/Z-Image-Turbo/dit_extreme_2.3bpp.safetensors mixed allocation, 2.3bpp
175
+ models/Z-Image-Turbo/dit_fp8_5bpp.safetensors fp8 weights, 5bpp
176
+ text_encoder:
177
+ models/Z-Image-Turbo/text_encoder_4bpp.safetensors 4bpp
178
+ models/Z-Image-Turbo/text_encoder_5bpp.safetensors 5bpp
179
+ models/Z-Image-Turbo/text_encoder_6bpp.safetensors 6bpp
180
+ models/Z-Image-Turbo/text_encoder_7bpp.safetensors 7bpp
181
+ models/Z-Image-Turbo/text_encoder_8bpp.safetensors 8bpp
182
+
183
+ `dit_package` and `text_encoder_package` are chosen independently: any combination works
184
+ (e.g. `dit_8bpp` with `text_encoder_4bpp`).
185
+ """
186
+ import json
187
+
188
+ import torch
189
+
190
+ from diffsynth.configs import MODEL_CONFIGS
191
+ from diffsynth.pipelines.z_image import ZImagePipeline, ModelConfig
192
+
193
+ prequant_model_id = "DiffSynth-Studio/EntroPackPreQuants"
194
+ dit_package = "models/Z-Image-Turbo/dit_4bpp.safetensors"
195
+ text_encoder_package = "models/Z-Image-Turbo/text_encoder_4bpp.safetensors"
196
+
197
+
198
+ def register_prequantized(package_pattern):
199
+ """Download the pre-quantized package and its json sidecar (a ready-to-use MODEL_CONFIGS entry), return a loadable ModelConfig."""
200
+ package = ModelConfig(model_id=prequant_model_id, origin_file_pattern=package_pattern)
201
+ package.download_if_necessary()
202
+ sidecar = ModelConfig(model_id=prequant_model_id, origin_file_pattern=package_pattern.replace(".safetensors", ".json"))
203
+ sidecar.download_if_necessary()
204
+ with open(sidecar.path) as handle:
205
+ MODEL_CONFIGS.append(json.load(handle))
206
+ return package
207
+
208
+
209
+ pipe = ZImagePipeline.from_pretrained(
210
+ torch_dtype=torch.bfloat16,
211
+ device="cuda",
212
+ model_configs=[
213
+ register_prequantized(dit_package),
214
+ register_prequantized(text_encoder_package),
215
+ ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
216
+ ],
217
+ tokenizer_config=ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="tokenizer/"),
218
+ )
219
+ prompt = "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights."
220
+ image = pipe(prompt=prompt, seed=42, rand_device="cuda")
221
+ image.save("image_Z-Image-Turbo-EntroPack.jpg")
222
+ ```
223
+
224
+ `dit_package` and `text_encoder_package` can be chosen independently in any combination; the extreme and fp8 packages work in exactly the same way — just point to the corresponding `.safetensors` path (mixed-quantization `configs` and other details live in the same-named `.json`, no script changes needed). For Qwen-Image-2.1 and MiniMax-H3, swap in the corresponding pipeline and package paths.
assets/minimax_h3_fl2va_dit_4bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3c820132ea422b6c6aeea52ec2133f769bdb1e1307edaa66c0bb6e6d8457db1
3
+ size 20493430
assets/minimax_h3_fl2va_dit_5bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f40aa364480b35a38ee26f856b4f6fdc9161a87362cb78c2ffb572e0519ef8c1
3
+ size 19141428
assets/minimax_h3_fl2va_dit_6bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47df7cc3f4780d25fc5671b275a2bdd1b832feadf55d695b8f1f3dd8f6535723
3
+ size 17279249
assets/minimax_h3_fl2va_dit_7bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1544df8e9160996b53b33c777c1f6d9179fbf7129fd0797c07653a4465b23f88
3
+ size 16816039
assets/minimax_h3_fl2va_dit_8bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:881b4691e16ac0b5253fb1292fb70a0d2fea43b0254a44e9ac0e02f673f3a415
3
+ size 16122668
assets/minimax_h3_fl2va_dit_extreme_3.0bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c7a1986fba2db7fadb0950a2749ee77fe616210ae7fbffb03742b09141de68d
3
+ size 29696339
assets/minimax_h3_fl2va_dit_fp8_5bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1897a3d014bee8edd56ac58a76552deb6ec2403026bcd97ddb6a5f1e4619ad4
3
+ size 16393608
assets/minimax_h3_ref2va_dit_4bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbd52567fa0c8a2c0146ac090e0963f9f0e92c8b24fd6db5bd757bcebcf3cea0
3
+ size 24277888
assets/minimax_h3_ref2va_dit_5bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b559bf47f0a89f876df19815f9a02285324cc3791e215e299b3baf320cb1a81
3
+ size 17917329
assets/minimax_h3_ref2va_dit_6bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fbd1bff45719c41fd9eb9fd70f736899b4b1e571cb5aa56cb4cf9b0b5e16a43
3
+ size 13943028
assets/minimax_h3_ref2va_dit_7bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40b63d9cbd1041c46a483eefc1350d91ccffdc2c7407a630c3c32ea35988df22
3
+ size 12921232
assets/minimax_h3_ref2va_dit_8bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b240f3b569cb1d575154ff05512f103ba6f3a266603f22fc0912d4cd14589fa
3
+ size 12527535
assets/minimax_h3_ref2va_dit_extreme_3.0bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cfb1350ffd0cb8ecbaa67b6f65a879a872be28646aa8a8cb7dedb0e00fa2098
3
+ size 24864847
assets/minimax_h3_ref2va_dit_fp8_5bpp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b600c61f47a9493a5292247920dd02dad85fd0e2603a0fa77c75ce5d6615646
3
+ size 17608131
assets/minimax_h3_ref2va_reference_woman.png ADDED

Git LFS Details

  • SHA256: 4a81d41f025468153d1edf0c1193f2c896d73409818d8eaca7cd52bc6fc96508
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB
assets/qwen_image_2.1_dit_4bpp.png ADDED

Git LFS Details

  • SHA256: 63f4710605afa1d78892d87a9dabf9a18abfef83721de6e174f330c0ca15724e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.73 MB
assets/qwen_image_2.1_dit_5bpp.png ADDED

Git LFS Details

  • SHA256: 11a01295fe7def8c5dc4917e45f20a3a493772d7b8b7ae0f0a39e5a2db9f2b0a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.72 MB
assets/qwen_image_2.1_dit_6bpp.png ADDED

Git LFS Details

  • SHA256: fedadc53e35c230f97f1b25e9d52617ddbfc50f998d33fd13faa5ccc94269ff4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.74 MB
assets/qwen_image_2.1_dit_7bpp.png ADDED

Git LFS Details

  • SHA256: b76863098e63d53bc0932ba87037a22f8fd63e5a2be85fd25b3850de086fb926
  • Pointer size: 132 Bytes
  • Size of remote file: 1.71 MB
assets/qwen_image_2.1_dit_8bpp.png ADDED

Git LFS Details

  • SHA256: faf1010e26eebea85e4a2f102566da3714daac2506bada7915b13089f0180474
  • Pointer size: 132 Bytes
  • Size of remote file: 1.7 MB
assets/qwen_image_2.1_dit_extreme_3.0bpp.png ADDED

Git LFS Details

  • SHA256: f228f75f736a22a9c8f19f84a3e796516d7ba733efd318592e1b02733c109125
  • Pointer size: 132 Bytes
  • Size of remote file: 1.74 MB
assets/qwen_image_2.1_dit_fp8_5bpp.png ADDED

Git LFS Details

  • SHA256: 5ca4618ef2db88e00e6f5ea59ab46711bfadc229ce16e7228c175b44257c1b48
  • Pointer size: 132 Bytes
  • Size of remote file: 1.71 MB
assets/z_image_turbo_dit_4bpp.jpg ADDED

Git LFS Details

  • SHA256: 059d37f0e58e288b9ea574bd5daeaac576e88bb549d09dd6ec03030660c81041
  • Pointer size: 131 Bytes
  • Size of remote file: 101 kB
assets/z_image_turbo_dit_5bpp.jpg ADDED

Git LFS Details

  • SHA256: e0630873fcd953cf6f722d978c39a44cfb3cda9acba82f67eb876bb2af961a60
  • Pointer size: 131 Bytes
  • Size of remote file: 102 kB
assets/z_image_turbo_dit_6bpp.jpg ADDED

Git LFS Details

  • SHA256: 279ddd20935b3b6a4dd8cf7d51c7c9d4a1c70622250f87b5942ed9d27ae35944
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
assets/z_image_turbo_dit_7bpp.jpg ADDED

Git LFS Details

  • SHA256: 55d5a34c0d9d695f6b450c019e621af0d18dcf2cce24494396e778ad72d52847
  • Pointer size: 131 Bytes
  • Size of remote file: 102 kB
assets/z_image_turbo_dit_8bpp.jpg ADDED

Git LFS Details

  • SHA256: 38892ee05fd57c0d4a83d80189cd950a8f9b3939aa7b02931f6b3ec29ad4838b
  • Pointer size: 131 Bytes
  • Size of remote file: 102 kB
assets/z_image_turbo_dit_extreme_2.3bpp.jpg ADDED

Git LFS Details

  • SHA256: eb95bcb85fa86d85b8e304b8bbb90d78c8514789f81d938e298249820fd7db05
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
assets/z_image_turbo_dit_fp8_5bpp.jpg ADDED

Git LFS Details

  • SHA256: 95ba92acaa83d3ff5b536d770a59df61619df0baa19934b1807e314ad3268a3b
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task":"text-to-image-synthesis"}
models/MiniMax-H3/FL2VA/dit_4bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "612cc4c6e1da912c8ce01e63e113215f",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 4.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_4bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bc847b6205a2efdaa30e8895c71433a6b3ed677563adff1c43a577e774dce29
3
+ size 16726248296
models/MiniMax-H3/FL2VA/dit_5bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "d3c067cb3761cd4dfc3d245a241062d4",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 5.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_5bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb44baaf9a1e0fa98b9ed1cca900cc855de03ab1b8eb3dbfe069899820067842
3
+ size 20978626656
models/MiniMax-H3/FL2VA/dit_6bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "dcbfbfa6dfa5228b6b207879687c58d8",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 6.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_6bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10ef6ef8eb8e7cee584f6ce92d2a790d66147d1e96c167206b977f939a5d3bae
3
+ size 25183663296
models/MiniMax-H3/FL2VA/dit_7bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "19f12bd0e985a00a192cac32fd605833",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 7.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_7bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149a454b25635b82d373b7fc7f276b3bf51271571313510c90a47928366b3c48
3
+ size 29372100480
models/MiniMax-H3/FL2VA/dit_8bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "601fbcb5f5e5b3531a46754b93d5750b",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 8.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_8bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e32600e8280b7e87aff01e80f0357ecd16e203b87fe69bf74b976dc78e1498cf
3
+ size 33462978544
models/MiniMax-H3/FL2VA/dit_extreme_3.0bpp.json ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "29795a310c0b91df83abc8990d2ea8fd",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 2.9875992063492065,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "target_modules": [
16
+ "blocks.0.attn.qkv_proj",
17
+ "blocks.0.mlp.fc2",
18
+ "blocks.0.mlp.fc1",
19
+ "blocks.1.attn.qkv_proj",
20
+ "blocks.1.mlp.fc2",
21
+ "blocks.1.mlp.fc1",
22
+ "blocks.2.mlp.fc2",
23
+ "blocks.2.mlp.fc1",
24
+ "token_refiner.blocks.0.attn.qkv_proj",
25
+ "token_refiner.blocks.0.mlp.fc2",
26
+ "token_refiner.blocks.0.mlp.fc1",
27
+ "token_refiner.blocks.1.attn.qkv_proj",
28
+ "token_refiner.blocks.1.mlp.fc2",
29
+ "token_refiner.blocks.1.mlp.fc1",
30
+ "blocks.2.attn.qkv_proj",
31
+ "blocks.3.attn.qkv_proj",
32
+ "blocks.3.mlp.fc2",
33
+ "blocks.3.mlp.fc1",
34
+ "blocks.4.attn.qkv_proj",
35
+ "blocks.4.mlp.fc2",
36
+ "blocks.4.mlp.fc1",
37
+ "blocks.5.attn.qkv_proj",
38
+ "blocks.5.mlp.fc2",
39
+ "blocks.5.mlp.fc1",
40
+ "blocks.6.mlp.fc2",
41
+ "blocks.6.mlp.fc1",
42
+ "blocks.10.mlp.fc2",
43
+ "blocks.10.mlp.fc1",
44
+ "blocks.6.attn.qkv_proj",
45
+ "blocks.7.attn.qkv_proj",
46
+ "blocks.7.mlp.fc2",
47
+ "blocks.7.mlp.fc1",
48
+ "blocks.8.attn.qkv_proj",
49
+ "blocks.8.mlp.fc2",
50
+ "blocks.8.mlp.fc1",
51
+ "blocks.9.attn.qkv_proj",
52
+ "blocks.9.mlp.fc2",
53
+ "blocks.9.mlp.fc1",
54
+ "blocks.10.attn.qkv_proj",
55
+ "blocks.11.attn.qkv_proj",
56
+ "blocks.11.mlp.fc2",
57
+ "blocks.11.mlp.fc1",
58
+ "blocks.12.attn.qkv_proj",
59
+ "blocks.12.mlp.fc2",
60
+ "blocks.12.mlp.fc1",
61
+ "blocks.13.attn.qkv_proj",
62
+ "blocks.13.mlp.fc2",
63
+ "blocks.13.mlp.fc1",
64
+ "blocks.14.mlp.fc2",
65
+ "blocks.14.mlp.fc1",
66
+ "blocks.14.attn.qkv_proj",
67
+ "blocks.15.attn.qkv_proj",
68
+ "blocks.15.mlp.fc2",
69
+ "blocks.15.mlp.fc1",
70
+ "blocks.16.attn.qkv_proj",
71
+ "blocks.16.mlp.fc2",
72
+ "blocks.16.mlp.fc1",
73
+ "blocks.17.attn.qkv_proj",
74
+ "blocks.17.mlp.fc2",
75
+ "blocks.17.mlp.fc1",
76
+ "blocks.18.mlp.fc2",
77
+ "blocks.18.mlp.fc1",
78
+ "blocks.18.attn.qkv_proj",
79
+ "blocks.19.attn.qkv_proj",
80
+ "blocks.19.mlp.fc2",
81
+ "blocks.19.mlp.fc1",
82
+ "blocks.20.attn.qkv_proj",
83
+ "blocks.20.mlp.fc2",
84
+ "blocks.20.mlp.fc1",
85
+ "blocks.21.attn.qkv_proj",
86
+ "blocks.21.mlp.fc2",
87
+ "blocks.21.mlp.fc1",
88
+ "blocks.22.mlp.fc2",
89
+ "blocks.22.mlp.fc1",
90
+ "blocks.22.attn.qkv_proj",
91
+ "blocks.23.attn.qkv_proj",
92
+ "blocks.23.mlp.fc2",
93
+ "blocks.23.mlp.fc1",
94
+ "blocks.24.attn.qkv_proj",
95
+ "blocks.24.mlp.fc2",
96
+ "blocks.24.mlp.fc1",
97
+ "blocks.25.attn.qkv_proj",
98
+ "blocks.25.mlp.fc2",
99
+ "blocks.25.mlp.fc1",
100
+ "blocks.26.mlp.fc2",
101
+ "blocks.26.mlp.fc1",
102
+ "blocks.26.attn.qkv_proj",
103
+ "blocks.27.attn.qkv_proj",
104
+ "blocks.27.mlp.fc2",
105
+ "blocks.27.mlp.fc1",
106
+ "blocks.28.attn.qkv_proj",
107
+ "blocks.28.mlp.fc2",
108
+ "blocks.28.mlp.fc1",
109
+ "blocks.29.attn.qkv_proj",
110
+ "blocks.29.mlp.fc2",
111
+ "blocks.29.mlp.fc1",
112
+ "blocks.30.mlp.fc2",
113
+ "blocks.30.mlp.fc1",
114
+ "blocks.30.attn.qkv_proj",
115
+ "blocks.31.attn.qkv_proj",
116
+ "blocks.31.mlp.fc2",
117
+ "blocks.31.mlp.fc1",
118
+ "blocks.32.attn.qkv_proj",
119
+ "blocks.32.mlp.fc2",
120
+ "blocks.32.mlp.fc1",
121
+ "blocks.33.attn.qkv_proj",
122
+ "blocks.33.mlp.fc2",
123
+ "blocks.33.mlp.fc1",
124
+ "blocks.34.mlp.fc2",
125
+ "blocks.34.mlp.fc1",
126
+ "blocks.34.attn.qkv_proj",
127
+ "blocks.35.attn.qkv_proj",
128
+ "blocks.35.mlp.fc2",
129
+ "blocks.35.mlp.fc1",
130
+ "blocks.36.attn.qkv_proj",
131
+ "blocks.36.mlp.fc2",
132
+ "blocks.36.mlp.fc1",
133
+ "blocks.37.attn.qkv_proj",
134
+ "blocks.37.mlp.fc2",
135
+ "blocks.37.mlp.fc1",
136
+ "blocks.38.mlp.fc2",
137
+ "blocks.38.mlp.fc1",
138
+ "blocks.38.attn.qkv_proj",
139
+ "blocks.39.attn.qkv_proj",
140
+ "blocks.39.mlp.fc2",
141
+ "blocks.39.mlp.fc1",
142
+ "blocks.40.attn.qkv_proj",
143
+ "blocks.40.mlp.fc2",
144
+ "blocks.40.mlp.fc1",
145
+ "blocks.41.attn.qkv_proj",
146
+ "blocks.41.mlp.fc2",
147
+ "blocks.41.mlp.fc1",
148
+ "blocks.42.mlp.fc2",
149
+ "blocks.42.mlp.fc1",
150
+ "blocks.42.attn.qkv_proj",
151
+ "blocks.43.attn.qkv_proj",
152
+ "blocks.43.mlp.fc2",
153
+ "blocks.43.mlp.fc1",
154
+ "blocks.44.attn.qkv_proj",
155
+ "blocks.44.mlp.fc2",
156
+ "blocks.44.mlp.fc1",
157
+ "blocks.45.attn.qkv_proj",
158
+ "blocks.45.mlp.fc2",
159
+ "blocks.45.mlp.fc1",
160
+ "blocks.46.mlp.fc2",
161
+ "blocks.46.mlp.fc1",
162
+ "blocks.46.attn.qkv_proj",
163
+ "blocks.47.attn.qkv_proj",
164
+ "blocks.47.mlp.fc2",
165
+ "blocks.47.mlp.fc1",
166
+ "blocks.48.attn.qkv_proj",
167
+ "blocks.48.mlp.fc2",
168
+ "blocks.48.mlp.fc1",
169
+ "blocks.49.attn.qkv_proj",
170
+ "blocks.49.mlp.fc2",
171
+ "blocks.49.mlp.fc1"
172
+ ]
173
+ },
174
+ {
175
+ "method": "entropack_lossy_quant",
176
+ "backend_config_kwargs": {
177
+ "target_bpp": 3.0,
178
+ "row_rdo_iterations": 2,
179
+ "row_rdo_candidates": 20
180
+ },
181
+ "target_modules": [
182
+ "blocks.0.adaln_proj.linear",
183
+ "blocks.0.attn.out_proj",
184
+ "blocks.1.adaln_proj.linear",
185
+ "blocks.1.attn.out_proj",
186
+ "blocks.2.adaln_proj.linear",
187
+ "token_refiner.blocks.0.attn.out_proj",
188
+ "token_refiner.blocks.1.attn.out_proj",
189
+ "blocks.2.attn.out_proj",
190
+ "blocks.3.adaln_proj.linear",
191
+ "blocks.3.attn.out_proj",
192
+ "blocks.4.adaln_proj.linear",
193
+ "blocks.4.attn.out_proj",
194
+ "blocks.5.adaln_proj.linear",
195
+ "blocks.5.attn.out_proj",
196
+ "blocks.6.adaln_proj.linear",
197
+ "blocks.10.adaln_proj.linear",
198
+ "blocks.6.attn.out_proj",
199
+ "blocks.7.adaln_proj.linear",
200
+ "blocks.7.attn.out_proj",
201
+ "blocks.8.adaln_proj.linear",
202
+ "blocks.8.attn.out_proj",
203
+ "blocks.9.adaln_proj.linear",
204
+ "blocks.9.attn.out_proj",
205
+ "blocks.10.attn.out_proj",
206
+ "blocks.11.adaln_proj.linear",
207
+ "blocks.11.attn.out_proj",
208
+ "blocks.12.adaln_proj.linear",
209
+ "blocks.12.attn.out_proj",
210
+ "blocks.13.adaln_proj.linear",
211
+ "blocks.13.attn.out_proj",
212
+ "blocks.14.adaln_proj.linear",
213
+ "blocks.14.attn.out_proj",
214
+ "blocks.15.adaln_proj.linear",
215
+ "blocks.15.attn.out_proj",
216
+ "blocks.16.adaln_proj.linear",
217
+ "blocks.16.attn.out_proj",
218
+ "blocks.17.adaln_proj.linear",
219
+ "blocks.17.attn.out_proj",
220
+ "blocks.18.adaln_proj.linear",
221
+ "blocks.18.attn.out_proj",
222
+ "blocks.19.adaln_proj.linear",
223
+ "blocks.19.attn.out_proj",
224
+ "blocks.20.adaln_proj.linear",
225
+ "blocks.20.attn.out_proj",
226
+ "blocks.21.adaln_proj.linear",
227
+ "blocks.21.attn.out_proj",
228
+ "blocks.22.adaln_proj.linear",
229
+ "blocks.22.attn.out_proj",
230
+ "blocks.23.adaln_proj.linear",
231
+ "blocks.23.attn.out_proj",
232
+ "blocks.24.adaln_proj.linear",
233
+ "blocks.24.attn.out_proj",
234
+ "blocks.25.adaln_proj.linear",
235
+ "blocks.25.attn.out_proj",
236
+ "blocks.26.adaln_proj.linear",
237
+ "blocks.26.attn.out_proj",
238
+ "blocks.27.adaln_proj.linear",
239
+ "blocks.27.attn.out_proj",
240
+ "blocks.28.adaln_proj.linear",
241
+ "blocks.28.attn.out_proj",
242
+ "blocks.29.adaln_proj.linear",
243
+ "blocks.29.attn.out_proj",
244
+ "blocks.30.adaln_proj.linear",
245
+ "blocks.30.attn.out_proj",
246
+ "blocks.31.adaln_proj.linear",
247
+ "blocks.31.attn.out_proj",
248
+ "blocks.32.adaln_proj.linear",
249
+ "blocks.32.attn.out_proj",
250
+ "blocks.33.adaln_proj.linear",
251
+ "blocks.33.attn.out_proj",
252
+ "blocks.34.adaln_proj.linear",
253
+ "blocks.34.attn.out_proj",
254
+ "blocks.35.adaln_proj.linear",
255
+ "blocks.35.attn.out_proj",
256
+ "blocks.36.adaln_proj.linear",
257
+ "blocks.36.attn.out_proj",
258
+ "blocks.37.adaln_proj.linear",
259
+ "blocks.37.attn.out_proj",
260
+ "blocks.38.adaln_proj.linear",
261
+ "blocks.38.attn.out_proj",
262
+ "blocks.39.adaln_proj.linear",
263
+ "blocks.39.attn.out_proj",
264
+ "blocks.40.adaln_proj.linear",
265
+ "blocks.40.attn.out_proj",
266
+ "blocks.41.adaln_proj.linear",
267
+ "blocks.41.attn.out_proj",
268
+ "blocks.42.adaln_proj.linear",
269
+ "blocks.42.attn.out_proj",
270
+ "blocks.43.adaln_proj.linear",
271
+ "blocks.43.attn.out_proj",
272
+ "blocks.44.adaln_proj.linear",
273
+ "blocks.44.attn.out_proj",
274
+ "blocks.45.adaln_proj.linear",
275
+ "blocks.45.attn.out_proj",
276
+ "blocks.46.adaln_proj.linear",
277
+ "blocks.46.attn.out_proj",
278
+ "blocks.47.adaln_proj.linear",
279
+ "blocks.47.attn.out_proj",
280
+ "blocks.48.adaln_proj.linear",
281
+ "blocks.48.attn.out_proj",
282
+ "blocks.49.adaln_proj.linear",
283
+ "blocks.49.attn.out_proj",
284
+ "final_layer.adaln_proj.linear"
285
+ ]
286
+ },
287
+ {
288
+ "method": "entropack_lossy_quant",
289
+ "backend_config_kwargs": {
290
+ "target_bpp": 8.0,
291
+ "row_rdo_iterations": 2,
292
+ "row_rdo_candidates": 20
293
+ },
294
+ "target_modules": [
295
+ "audio_patch_proj",
296
+ "time_embedder.proj_in",
297
+ "time_embedder.proj_out",
298
+ "video_patch_proj",
299
+ "condition_proj",
300
+ "final_layer.audio_out",
301
+ "final_layer.video_out"
302
+ ]
303
+ }
304
+ ]
305
+ }
306
+ }
models/MiniMax-H3/FL2VA/dit_extreme_3.0bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce5d26f13ad42a80bd5b515096ecef1ca6b062ed8c5765ac8950383a45ed5e91
3
+ size 12535981160
models/MiniMax-H3/FL2VA/dit_fp8_5bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "16ca1fa6f82125d160f4b185a3ba2096",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant_fp8",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 5.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/FL2VA/dit_fp8_5bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c017b2f9118486aaedafd57797826bd1108a83fbd237074f62e0000eaed52c05
3
+ size 20981618128
models/MiniMax-H3/REF2VA/dit_4bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "49df57910799fd05dca1e79ec1fbf0e9",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 4.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/REF2VA/dit_4bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6f974fc0d9ba9286c23fd9764b1ee2cda679b507139a8b2b69e9cbb04dc4a08
3
+ size 16726551560
models/MiniMax-H3/REF2VA/dit_5bpp.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_hash": "e6e4edc4382aac92c772ff56625eb108",
3
+ "model_name": "minimax_h3_dit",
4
+ "model_class": "diffsynth.models.minimax_h3_dit.MiniMaxH3DiT",
5
+ "quant_config": {
6
+ "load_prequantized": true,
7
+ "configs": [
8
+ {
9
+ "method": "entropack_lossy_quant",
10
+ "backend_config_kwargs": {
11
+ "target_bpp": 5.0,
12
+ "row_rdo_iterations": 2,
13
+ "row_rdo_candidates": 20
14
+ },
15
+ "exclude_modules": [
16
+ "time_embedder.proj_in",
17
+ "time_embedder.proj_out",
18
+ "video_patch_proj",
19
+ "audio_patch_proj",
20
+ "condition_proj",
21
+ "final_layer.video_out",
22
+ "final_layer.audio_out"
23
+ ]
24
+ },
25
+ {
26
+ "method": "entropack_lossy_quant",
27
+ "backend_config_kwargs": {
28
+ "target_bpp": 8.0,
29
+ "row_rdo_iterations": 2,
30
+ "row_rdo_candidates": 20
31
+ },
32
+ "target_modules": [
33
+ "time_embedder.proj_in",
34
+ "time_embedder.proj_out",
35
+ "video_patch_proj",
36
+ "audio_patch_proj",
37
+ "condition_proj",
38
+ "final_layer.video_out",
39
+ "final_layer.audio_out"
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ }
models/MiniMax-H3/REF2VA/dit_5bpp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb400d282ed59bf54388b0a684e2556a33a6a66869d90255b7de1e0cc998f9f
3
+ size 20978285280