File size: 1,694 Bytes
320bbfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model_hash": "f6b2aaaadaa64d954c739f14f70fa16e",
  "model_name": "minimax_h3_image_dit",
  "model_class": "diffsynth.models.minimax_h3_image_dit.MiniMaxH3ImageDiTPruned",
  "quant_config": {
    "load_prequantized": true,
    "configs": [
      {
        "method": "entropack_lossy_quant_int8",
        "backend_config_kwargs": {
          "target_bpp": 4.3341785714285725,
          "row_rdo_iterations": 2,
          "row_rdo_candidates": 20,
          "use_convrot": true,
          "convrot_groupsize": 256
        },
        "exclude_modules": [
          "video_patch_proj",
          "condition_proj",
          "token_refiner.blocks.0.attn.qkv_proj",
          "token_refiner.blocks.0.attn.out_proj",
          "token_refiner.blocks.0.mlp.fc1",
          "token_refiner.blocks.0.mlp.fc2",
          "token_refiner.blocks.1.attn.qkv_proj",
          "token_refiner.blocks.1.attn.out_proj",
          "token_refiner.blocks.1.mlp.fc1",
          "token_refiner.blocks.1.mlp.fc2"
        ]
      },
      {
        "method": "entropack_lossy_quant",
        "backend_config_kwargs": {
          "target_bpp": 8.5,
          "row_rdo_iterations": 2,
          "row_rdo_candidates": 20
        },
        "target_modules": [
          "video_patch_proj",
          "condition_proj",
          "token_refiner.blocks.0.attn.qkv_proj",
          "token_refiner.blocks.0.attn.out_proj",
          "token_refiner.blocks.0.mlp.fc1",
          "token_refiner.blocks.0.mlp.fc2",
          "token_refiner.blocks.1.attn.qkv_proj",
          "token_refiner.blocks.1.attn.out_proj",
          "token_refiner.blocks.1.mlp.fc1",
          "token_refiner.blocks.1.mlp.fc2"
        ]
      }
    ]
  }
}