mgoin's picture
Upload folder using huggingface_hub
9a95f03 verified
raw
history blame contribute delete
576 Bytes
quant_stage:
quant_modifiers:
QuantizationModifier:
ignore: [lm_head]
config_groups:
fp8_linear:
weights: {num_bits: 8, type: float, strategy: tensor, dynamic: false, symmetric: true}
input_activations: {num_bits: 8, type: float, strategy: tensor, dynamic: false,
symmetric: true}
targets: [Linear]
fp8_attention:
output_activations: {num_bits: 8, type: float, strategy: channel, dynamic: false,
symmetric: true}
targets: ['re:.*q_proj', 're:.*k_proj', 're:.*v_proj']