09 Native FP4
Train and serve in 4-bit floating point from the start, with per-block scales, instead of quantizing a 16-bit model afterwards.
VideoThe idea in a few minutes
The problem
16-bit weights and activations: memory and bandwidth bound.
VisualizationBytes per parameter
The idea
The 16 FP4 values on a number line, and how a shared block scale stretches them.
VisualizationFP4 number line with block scaling
The trade-off
Memory and throughput gained vs. precision lost.
VisualizationBF16 / FP8 / FP4 side by side
Sources
Papers and model reports.