FP8 training
Training in eight-bit floating point. Roughly twice as fast as BF16, and requires tracking scaling factors so the numbers don't fall out of range.
Two formats are used. E4M3 has more mantissa bits and serves for weights and activations, while E5M2 has a wider exponent range and serves for gradients, which span more orders of magnitude. The difficulty is that eight bits give a very narrow window: if a tensor's values sit wrong relative to it they either vanish to zero or overflow. Scaling factors therefore have to be computed and maintained per tensor or finer, usually from the statistics of recent steps. Hardware support arrived with the Hopper generation. DeepSeek-V3 was the first well-documented run at frontier scale, using block-wise scaling in 128 by 128 tiles and keeping sensitive operations at higher precision.