blkpws commited on
Commit
7b7d04e
·
verified ·
1 Parent(s): bda0f86

canonical: recipe.yaml (v5 weights)

Browse files
Files changed (1) hide show
  1. recipe.yaml +4 -6
recipe.yaml CHANGED
@@ -1,10 +1,8 @@
1
  default_stage:
2
  default_modifiers:
3
  QuantizationModifier:
4
- targets: ['re:model\.layers\.\d+\.linear_attn\.(in_proj_a|in_proj_b|in_proj_qkv|in_proj_z|out_proj)',
5
- 're:model\.layers\.\d+\.self_attn\.(q|k|v|o)_proj']
6
- ignore: [model.embed_tokens, model.norm, 're:.*layernorm.*', 're:.*_norm.*', 're:.*conv1d.*',
7
- 're:.*mlp.*', lm_head]
8
- scheme: FP8
9
  bypass_divisibility_checks: false
10
- requires_calibration_data: true
 
1
  default_stage:
2
  default_modifiers:
3
  QuantizationModifier:
4
+ targets: ['re:.*attn.*', 're:.*q_proj.*', 're:.*k_proj.*', 're:.*v_proj.*', 're:.*o_proj.*']
5
+ ignore: [lm_head, '*.vision_tower.*', '*.embed_tokens.*']
6
+ scheme: FP8_DYNAMIC
 
 
7
  bypass_divisibility_checks: false
8
+ requires_calibration_data: false