Lossless?
Great work!
I had a question about the "lossless conversion" claim in the model card regarding the source (group=32 E8M0) scales and target (group=16 E4M3) scales. Are you confident this is strictly lossless in the mathematical sense, rather than "effectively" or "near" lossless?
My intuition is that, once you account for the increased scale resolution and the layer-wide (or per-expert) FP32 scaling factor, the representation is probably functionally equivalent in practice. However, "lossless" tends to imply exact reconstruction, so I wanted to make sure I’m understanding the claim correctly.
Great catch — you're right, "lossless" was too strong a word and I've updated the model card to "deterministic format change" + "empirically within quantization noise" instead.
The strict-mathematical-lossless claim doesn't hold for three reasons (our own internal docs/findings/option_a_lossless_audit.md flagged this back in May and I should have caught it before the model card went up):
Group regrouping is one-way. Source is MXFP4 group=32 along the input dim; NVFP4 spec is group=16. Reshaping 32 → 16 is constrained by the already-quantized FP4 values — we can't recover precision the original MXFP4 step already discarded.
E8M0 → E4M3 isn't a strict superset. Source E8M0 scales are pure 8-bit exponent (powers of 2 only). NVFP4 block scales are E4M3 (1+4+3). Among sampled experts, three of seven unique E8M0 exponents (−12, −11, −10) fall outside E4M3's exact-power-of-2 range. The per-tensor FP32
weight_scale_2(the two-level NVFP4 scheme) absorbs that range gap but doesn't reverse the original quantization step.Byte-level validation isn't exact. 192-sampled-tensor dequant comparison shows correlation 0.997–1.0 vs source — high but not 1.0 exactly.
What we can defend empirically: apples-to-apples on 7 benchmarks against the upstream MXFP4 checkpoint (same vLLM build, same hardware, same harness) all land within quantization noise. Wilson CIs overlap on GSM8K (full and matched-300), AIME 2024 deltas are ±3 problems at temp=0, HumanEval(+) and MBPP(+) deltas are within ±0.013. MTP draft acceptance matches native at 91.21% vs 90.92%. That's the basis for the equivalence claim — not strict losslessness.
Thanks for keeping the language honest. Model card is updated.