canonical: recipe.yaml (v5 weights)
Browse files- recipe.yaml +4 -6
recipe.yaml
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
default_stage:
|
| 2 |
default_modifiers:
|
| 3 |
QuantizationModifier:
|
| 4 |
-
targets: ['re:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
're:.*mlp.*', lm_head]
|
| 8 |
-
scheme: FP8
|
| 9 |
bypass_divisibility_checks: false
|
| 10 |
-
requires_calibration_data:
|
|
|
|
| 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
|