apiversion: multimodal_vlm_modelslim_v1
metadata:
config_id: glm4_6v_w8a8
score: 90
verified_model_types:
- GLM-4.6V
label:
w_bit: 8
a_bit: 8
is_sparse: False
kv_cache: False
default_w8a8_dynamic: &default_w8a8_dynamic
act:
scope: "per_token"
dtype: "int8"
symmetric: True
method: "minmax"
weight:
scope: "per_channel"
dtype: "int8"
symmetric: True
method: "minmax"
default_w8a8: &default_w8a8
act:
scope: "per_tensor"
dtype: "int8"
symmetric: False
method: "minmax"
weight:
scope: "per_channel"
dtype: "int8"
symmetric: True
method: "minmax"
spec:
process:
- type: "iter_smooth"
alpha: 0.9
scale_min: 1e-5
symmetric: True
enable_subgraph_type:
- 'norm-linear'
- 'linear-linear'
- 'ov'
- 'up-down'
include:
- "*"
- type: "linear_quant"
qconfig: *default_w8a8
include:
- "*"
exclude:
- "*experts*"
- "*merger*"
- "*mlp.gate"
- "*visual.blocks.*.mlp.down_proj"
- "*language_model.layers.0.self_attn*"
- type: "linear_quant"
qconfig: *default_w8a8_dynamic
include:
- "*experts*"
exclude:
- "*merger*"
- "*mlp.gate"
- "*visual.blocks.*.mlp.down_proj"
- "*language_model.layers.0.self_attn*"
save:
- type: "ascendv1_saver"
part_file_size: 4
dataset: "calibImages"
default_text: "Describe this image in detail."