default_stage: default_modifiers: QuantizationModifier: config_groups: group_0: targets: ['re:.*self_attn\.q_proj.*', 're:.*self_attn\.k_proj.*', 're:.*self_attn\.v_proj.*', 're:.*self_attn\.o_proj.*', 're:.*down_proj.*', 're:model\.layers\.0\.mlp\.(gate|up)_proj.*', 're:model\.layers\.1\.mlp\.(gate|up)_proj.*', 're:model\.layers\.2\.mlp\.(gate|up)_proj.*', 're:model\.layers\.19\.mlp\.(gate|up)_proj.*', 're:model\.layers\.20\.mlp\.(gate|up)_proj.*', 're:model\.layers\.21\.mlp\.(gate|up)_proj.*'] weights: num_bits: 8 type: float symmetric: true group_size: null strategy: channel block_structure: null dynamic: false actorder: null scale_dtype: null zp_dtype: null observer: memoryless_minmax observer_kwargs: {} input_activations: num_bits: 8 type: float symmetric: true group_size: null strategy: token block_structure: null dynamic: true actorder: null scale_dtype: null zp_dtype: null observer: null observer_kwargs: {} output_activations: null format: null group_1: targets: ['re:model\.layers\.3\.mlp\.(gate|up)_proj.*', 're:model\.layers\.4\.mlp\.(gate|up)_proj.*', 're:model\.layers\.5\.mlp\.(gate|up)_proj.*', 're:model\.layers\.6\.mlp\.(gate|up)_proj.*', 're:model\.layers\.7\.mlp\.(gate|up)_proj.*', 're:model\.layers\.8\.mlp\.(gate|up)_proj.*', 're:model\.layers\.9\.mlp\.(gate|up)_proj.*', 're:model\.layers\.10\.mlp\.(gate|up)_proj.*', 're:model\.layers\.11\.mlp\.(gate|up)_proj.*', 're:model\.layers\.12\.mlp\.(gate|up)_proj.*', 're:model\.layers\.13\.mlp\.(gate|up)_proj.*', 're:model\.layers\.14\.mlp\.(gate|up)_proj.*', 're:model\.layers\.15\.mlp\.(gate|up)_proj.*', 're:model\.layers\.16\.mlp\.(gate|up)_proj.*', 're:model\.layers\.17\.mlp\.(gate|up)_proj.*', 're:model\.layers\.18\.mlp\.(gate|up)_proj.*'] weights: num_bits: 4 type: float symmetric: true group_size: 16 strategy: tensor_group block_structure: null dynamic: false actorder: null scale_dtype: torch.float8_e4m3fn zp_dtype: null observer: memoryless_minmax observer_kwargs: {} input_activations: null output_activations: null format: null targets: [Linear] ignore: [lm_head] bypass_divisibility_checks: false