dsikka's picture
Upload folder using huggingface_hub
f6b6af7 verified
raw
history blame contribute delete
539 Bytes
quant_stage:
quant_modifiers:
QuantizationModifier:
config_groups:
fp8_linear:
weights: {num_bits: 8, type: float, strategy: channel, dynamic: false, symmetric: true}
input_activations: {num_bits: 8, type: float, strategy: token, dynamic: true, 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']