default_stage: | |
default_modifiers: | |
QuantizationModifier: | |
targets: [Linear] | |
ignore: [lm_head, 're:.*mlp.gate$', 're:.*mlp.shared_expert_gate$', 're:.*linear_attn.*', | |
're:.*self_attn.*'] | |
scheme: FP8_DYNAMIC | |
default_stage: | |
default_modifiers: | |
QuantizationModifier: | |
targets: [Linear] | |
ignore: [lm_head, 're:.*mlp.gate$', 're:.*mlp.shared_expert_gate$', 're:.*linear_attn.*', | |
're:.*self_attn.*'] | |
scheme: FP8_DYNAMIC | |