初始化项目,由ModelHub XC社区提供模型

Model: cpatonn-mirror/Qwen3-4B-Thinking-2507-AWQ-8bit
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-10-19 12:45:13 +08:00
commit 654705411c
16 changed files with 1741 additions and 0 deletions

31
recipe.yaml Normal file
View File

@@ -0,0 +1,31 @@
default_stage:
default_modifiers:
AWQModifier:
config_groups:
group_0:
targets: [Linear]
weights:
num_bits: 8
type: int
symmetric: true
group_size: 32
strategy: group
block_structure: null
dynamic: false
actorder: null
observer: minmax
observer_kwargs: {}
input_activations: null
output_activations: null
targets: [Linear]
ignore: [lm_head, 're:.*mlp.gate$', 're:.*mlp.shared_expert_gate$']
mappings:
- smooth_layer: re:.*input_layernorm$
balance_layers: ['re:.*q_proj$', 're:.*k_proj$', 're:.*v_proj$']
- smooth_layer: re:.*v_proj$
balance_layers: ['re:.*o_proj$']
- smooth_layer: re:.*post_attention_layernorm$
balance_layers: ['re:.*gate_proj$', 're:.*up_proj$']
- smooth_layer: re:.*up_proj$
balance_layers: ['re:.*down_proj$']
duo_scaling: true