quantized_mxfp4_e8m0_pair

Function quantized_mxfp4_e8m0_pair 

Source
pub fn quantized_mxfp4_e8m0_pair(
    store: &WeightStore,
    weight_key: &str,
    scale_key: &str,
) -> Result<QuantizedWeight>
Expand description

2026-09-25: Hand out a native MXFP4 weight’s store pointers unchanged: E2M1 nibbles [n, k/2] in weight_key and one E8M0 scale per 32 weights in scale_key. Any other group size inferred from the element counts is an error. weight_scale_2 is 1.0 because the format has no per-tensor scale.