haoyang-amd's picture
update (#2)
b9241dc verified
{
"architectures": [
"Qwen3MoeForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 151643,
"decoder_sparse_step": 1,
"dtype": "bfloat16",
"eos_token_id": 151645,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"max_position_embeddings": 262144,
"max_window_layers": 48,
"mlp_only_layers": [],
"model_type": "qwen3_moe",
"moe_intermediate_size": 768,
"norm_topk_prob": true,
"num_attention_heads": 32,
"num_experts": 128,
"num_experts_per_tok": 8,
"num_hidden_layers": 48,
"num_key_value_heads": 4,
"output_router_logits": false,
"quantization_config": {
"algo_config": [],
"exclude": [
"model.layers.0.mlp.gate",
"model.layers.1.mlp.gate",
"model.layers.2.mlp.gate",
"model.layers.3.mlp.gate",
"model.layers.4.mlp.gate",
"model.layers.5.mlp.gate",
"model.layers.6.mlp.gate",
"model.layers.7.mlp.gate",
"model.layers.8.mlp.gate",
"model.layers.9.mlp.gate",
"model.layers.10.mlp.gate",
"model.layers.11.mlp.gate",
"model.layers.12.mlp.gate",
"model.layers.13.mlp.gate",
"model.layers.14.mlp.gate",
"model.layers.15.mlp.gate",
"model.layers.16.mlp.gate",
"model.layers.17.mlp.gate",
"model.layers.18.mlp.gate",
"model.layers.19.mlp.gate",
"model.layers.20.mlp.gate",
"model.layers.21.mlp.gate",
"model.layers.22.mlp.gate",
"model.layers.23.mlp.gate",
"model.layers.24.mlp.gate",
"model.layers.25.mlp.gate",
"model.layers.26.mlp.gate",
"model.layers.27.mlp.gate",
"model.layers.28.mlp.gate",
"model.layers.29.mlp.gate",
"model.layers.30.mlp.gate",
"model.layers.31.mlp.gate",
"model.layers.32.mlp.gate",
"model.layers.33.mlp.gate",
"model.layers.34.mlp.gate",
"model.layers.35.mlp.gate",
"model.layers.36.mlp.gate",
"model.layers.37.mlp.gate",
"model.layers.38.mlp.gate",
"model.layers.39.mlp.gate",
"model.layers.40.mlp.gate",
"model.layers.41.mlp.gate",
"model.layers.42.mlp.gate",
"model.layers.43.mlp.gate",
"model.layers.44.mlp.gate",
"model.layers.45.mlp.gate",
"model.layers.46.mlp.gate",
"model.layers.47.mlp.gate",
"lm_head"
],
"export": {
"kv_cache_group": [],
"min_kv_scale": 0.0,
"pack_method": "reorder",
"weight_format": "real_quantized",
"weight_merge_groups": null
},
"global_quant_config": {
"bias": null,
"input_tensors": {
"ch_axis": 1,
"dtype": "fp8_e4m3",
"group_size": null,
"is_dynamic": true,
"is_scale_quant": false,
"mx_element_dtype": null,
"observer_cls": "PerChannelMinMaxObserver",
"qscheme": "per_channel",
"round_method": null,
"scale_calculation_mode": null,
"scale_format": null,
"scale_type": null,
"symmetric": null
},
"output_tensors": null,
"target_device": null,
"weight": {
"ch_axis": 0,
"dtype": "fp8_e4m3",
"group_size": null,
"is_dynamic": false,
"is_scale_quant": false,
"mx_element_dtype": null,
"observer_cls": "PerChannelMinMaxObserver",
"qscheme": "per_channel",
"round_method": null,
"scale_calculation_mode": null,
"scale_format": null,
"scale_type": null,
"symmetric": null
}
},
"kv_cache_quant_config": {},
"layer_quant_config": {},
"layer_type_quant_config": {},
"quant_method": "quark",
"quant_mode": "eager_mode",
"softmax_quant_spec": null,
"version": "0.10+b8ad5c1d29"
},
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000000,
"router_aux_loss_coef": 0.001,
"sliding_window": null,
"tie_word_embeddings": false,
"transformers_version": "4.57.1",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}