qwen2.5-1.5b-awq-4bit / recipe.yaml
Crusadersk's picture
Self-quantized qwen2.5-1.5b-awq 4-bit (group_size=128, seed=42)
c25260d verified
Raw
History Blame Contribute Delete
747 Bytes
default_stage:
default_modifiers:
AWQModifier:
targets: [Linear]
ignore: [lm_head]
scheme: W4A16_ASYM
bypass_divisibility_checks: false
mappings:
- smooth_layer: re:.*input_layernorm
balance_layers: ['re:.*q_proj', 're:.*k_proj', 're:.*v_proj']
activation_hook_target: null
- smooth_layer: re:.*v_proj
balance_layers: ['re:.*o_proj']
activation_hook_target: null
- smooth_layer: re:.*post_attention_layernorm
balance_layers: ['re:.*gate_proj', 're:.*up_proj']
activation_hook_target: null
- smooth_layer: re:.*up_proj
balance_layers: ['re:.*down_proj']
activation_hook_target: null
duo_scaling: true
n_grid: 20