File size: 6,169 Bytes
03440e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model": {
    "parameter_groups": [
      {
        "compute_dtype": "float32",
        "output_dtype": "float32",
        "required_activation_quantization": null,
        "tensors": [
          "model.llm.attn_res.attn_queries.0",
          "model.llm.attn_res.mlp_queries.0",
          "model.llm.attn_res.mlp_queries.1",
          "model.llm.attn_res.output_query",
          "model.llm.layers.0.mlp.gate.bias",
          "model.llm.layers.1.mlp.gate.bias"
        ],
        "weight_block_shape": [],
        "weight_transform": "cast"
      },
      {
        "compute_dtype": "bfloat16",
        "output_dtype": "bfloat16",
        "required_activation_quantization": null,
        "tensors": [
          "model.llm.embed.weight",
          "model.llm.embed_norm.weight",
          "model.llm.layers.0.attn.attn_sink_proj.weight",
          "model.llm.layers.0.attn.gate_attn.weight",
          "model.llm.layers.0.attn.k_sconv.weight",
          "model.llm.layers.0.attn.q_l2_clip.scale",
          "model.llm.layers.0.attn.rel_l2_clip.scale",
          "model.llm.layers.0.attn.rel_logits_proj.proj",
          "model.llm.layers.0.attn.v_sconv.weight",
          "model.llm.layers.0.attn.wk_dv.weight",
          "model.llm.layers.0.attn.wo_ud.weight",
          "model.llm.layers.0.attn.wq_du.weight",
          "model.llm.layers.0.attn.wr_du.weight",
          "model.llm.layers.0.attn.wv_dv.weight",
          "model.llm.layers.0.attn_norm.weight",
          "model.llm.layers.0.attn_sconv.weight",
          "model.llm.layers.0.mlp.gate.weight",
          "model.llm.layers.0.mlp_norm.weight",
          "model.llm.layers.0.mlp_sconv.weight",
          "model.llm.layers.1.attn.attn_sink_proj.weight",
          "model.llm.layers.1.attn.gate_attn.weight",
          "model.llm.layers.1.attn.q_l2_clip.scale",
          "model.llm.layers.1.attn.rel_l2_clip.scale",
          "model.llm.layers.1.attn.rel_logits_proj.proj",
          "model.llm.layers.1.attn.wk_dv.weight",
          "model.llm.layers.1.attn.wo_ud.weight",
          "model.llm.layers.1.attn.wq_du.weight",
          "model.llm.layers.1.attn.wr_du.weight",
          "model.llm.layers.1.attn.wv_dv.weight",
          "model.llm.layers.1.attn_sconv.weight",
          "model.llm.layers.1.mlp.gate.weight",
          "model.llm.layers.1.mlp_norm.weight",
          "model.llm.layers.1.mlp_sconv.weight",
          "model.llm.norm.weight",
          "model.visual.backbone.embeddings.class_embedding",
          "model.visual.backbone.embeddings.cls_position_embedding",
          "model.visual.backbone.embeddings.patch_embedding.weight",
          "model.visual.backbone.embeddings.position_embedding",
          "model.visual.backbone.layers.0.ln_1.bias",
          "model.visual.backbone.layers.0.ln_1.weight",
          "model.visual.backbone.layers.0.ln_2.bias",
          "model.visual.backbone.layers.0.ln_2.weight",
          "model.visual.backbone.layers.0.ls_1.gamma",
          "model.visual.backbone.layers.0.ls_2.gamma",
          "model.visual.backbone.layers.0.mlp.c_fc.bias",
          "model.visual.backbone.layers.0.mlp.c_fc.weight",
          "model.visual.backbone.layers.0.mlp.c_proj.bias",
          "model.visual.backbone.layers.0.mlp.c_proj.weight",
          "model.visual.backbone.layers.0.self_attn.k_proj.bias",
          "model.visual.backbone.layers.0.self_attn.k_proj.weight",
          "model.visual.backbone.layers.0.self_attn.out_proj.bias",
          "model.visual.backbone.layers.0.self_attn.out_proj.weight",
          "model.visual.backbone.layers.0.self_attn.q_proj.bias",
          "model.visual.backbone.layers.0.self_attn.q_proj.weight",
          "model.visual.backbone.layers.0.self_attn.v_proj.bias",
          "model.visual.backbone.layers.0.self_attn.v_proj.weight",
          "model.visual.backbone.layers.1.ln_1.bias",
          "model.visual.backbone.layers.1.ln_1.weight",
          "model.visual.backbone.layers.1.ln_2.bias",
          "model.visual.backbone.layers.1.ln_2.weight",
          "model.visual.backbone.layers.1.ls_1.gamma",
          "model.visual.backbone.layers.1.ls_2.gamma",
          "model.visual.backbone.layers.1.mlp.c_fc.bias",
          "model.visual.backbone.layers.1.mlp.c_fc.weight",
          "model.visual.backbone.layers.1.mlp.c_proj.bias",
          "model.visual.backbone.layers.1.mlp.c_proj.weight",
          "model.visual.backbone.layers.1.self_attn.k_proj.bias",
          "model.visual.backbone.layers.1.self_attn.k_proj.weight",
          "model.visual.backbone.layers.1.self_attn.out_proj.bias",
          "model.visual.backbone.layers.1.self_attn.out_proj.weight",
          "model.visual.backbone.layers.1.self_attn.q_proj.bias",
          "model.visual.backbone.layers.1.self_attn.q_proj.weight",
          "model.visual.backbone.layers.1.self_attn.v_proj.bias",
          "model.visual.backbone.layers.1.self_attn.v_proj.weight",
          "model.visual.backbone.ln_pre.bias",
          "model.visual.backbone.ln_pre.weight",
          "model.visual.proj_in.weight",
          "model.visual.proj_out.weight"
        ],
        "weight_block_shape": [],
        "weight_transform": "cast"
      },
      {
        "compute_dtype": "mxfp8",
        "output_dtype": "float8_e4m3fn",
        "required_activation_quantization": {
          "block_size": 32,
          "format": "mxfp8_e4m3",
          "rounding": "nearest",
          "scale_dtype": "ue8m0"
        },
        "tensors": [
          "model.llm.layers.0.mlp.experts.w13_weight",
          "model.llm.layers.0.mlp.experts.w2_weight",
          "model.llm.layers.1.mlp.experts.w13_weight",
          "model.llm.layers.1.mlp.experts.w2_weight"
        ],
        "weight_block_shape": [
          32,
          32
        ],
        "weight_transform": "mxfp8_nearest"
      },
      {
        "compute_dtype": "bfloat16",
        "fwd_output_dtype": "float32",
        "output_dtype": "bfloat16",
        "required_activation_quantization": null,
        "tensors": [
          "model.llm.unembed.weight"
        ],
        "weight_block_shape": [],
        "weight_transform": "cast"
      }
    ]
  },
  "quant_method": "inkling2"
}