Sam Babichenko

Reading notes

Low-precision training

Four-bit NVFP4 matrix multiplications run six times faster than BF16 on Blackwell GPUs, using 16-value blocks with 8-bit scales to keep dynamic range tight. That coarse 15-value grid introduces two coupled failure modes: one outlier erases small values in its block, and transposing a tensor for the backward pass regroups blocks so backward products differentiate a slightly different function.

Two recipes resolve that mismatch in opposite ways. NVIDIA runs forward and backward products in NVFP4 across 10 trillion tokens using square weight tiles, stochastic gradient rounding, rotated weight gradients, and higher-precision final layers. Thinking Machines keeps 1-by-16 forward expert blocks, re-encodes decoded tensors into MXFP8 with stochastic rounding for backward passes, and adds rotated 8-bit combines across pretraining through RL.