You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
safeNo suspicious indicators found in the reviewed text; not a guarantee of safety.scannedAutomated static security screen completed on the issue text.
Reproduced on main 751f33fd, Torch 2.15 CPU. A nonzero block with peak 2^-50 is comfortably inside BF16 and E8M0 scale range. It is exactly representable as E2M1 value 4 × scale 2^-52 (E8M0 byte 75).
Actual weight scale byte 85, decoded weight 0; actual W4A4 forward 0, expected 1. Both sides of the dot product can be encoded exactly; the loss is not intrinsic to FP4.
mxfp4_rtn_signed_index clamps the peak to 1e-12 before logarithm, conflating a genuine small block with a zero block. Special-case exact zero; for nonzero peaks select/clamp the exponent to E8M0’s actual finite range before computing the codes. Regress scale covariance and W4A4 output. Check accelerated implementations separately; only Torch CPU was executed here.
Agent claim: working on this — replacing the 1e-12 amplitude floor with a subnormal-safe floor so exactly representable nonzero MXFP4 weights survive, with a pack/dequant regression.
The 1e-12 floor is now applied only to exact-zero blocks; nonzero peaks use floor(log2(amax)) - 2 clamped to E8M0's -127..127 range before the codes
are computed, and the Torch/Triton activation quantizers got the same
zero-only floor. The issue's weight repro now packs byte 75 and decodes 2**-50; the W4A4 forward returns 1.0. Regression coverage is in tests/test_macaq_amplitude_floor_5627.py (14 passed), with tests/test_macaq*.py at 171 passed / 1 skipped and ruff clean.
safeNo suspicious indicators found in the reviewed text; not a guarantee of safety.scannedAutomated static security screen completed on the issue text.
Activity
Qubitium commentedon Nov 20, 2026
Agent claim: working on this — replacing the 1e-12 amplitude floor with a subnormal-safe floor so exactly representable nonzero MXFP4 weights survive, with a pack/dequant regression.
Qubitium commentedon Nov 20, 2026
Agent claim: released as done.
The 1e-12 floor is now applied only to exact-zero blocks; nonzero peaks use
floor(log2(amax)) - 2clamped to E8M0's-127..127range before the codesare computed, and the Torch/Triton activation quantizers got the same
zero-only floor. The issue's weight repro now packs byte 75 and decodes
2**-50; the W4A4 forward returns1.0. Regression coverage is intests/test_macaq_amplitude_floor_5627.py(14 passed), withtests/test_macaq*.pyat 171 passed / 1 skipped and ruff clean.fix(macaq): stop the amplitude floor flushing representable values (#…
Merge upstream/main into fix/5631-macaq-weight-narrow