Floating-Point 8: An Introduction to Efficient, Lower-Precision AI Training

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Teams training LLMs on NVIDIA GPUs can now use block-scaled FP8 (MXFP8) on Blackwell to cut memory and compute costs while matching BF16 convergence, making 8-bit training practical rather than experimental.

Read this as

NVIDIA explains how FP8, an 8-bit number format, speeds up training of large language models by storing and computing values with half the memory of the standard 16-bit format. The trick is using two variants, E4M3 for forward passes and E5M2 for gradients, plus per-block scaling factors to keep accuracy. NVIDIA reports its new Blackwell GPUs' block-scaled MXFP8 format matched BF16 validation perplexity when training an 8-billion-parameter model.

FP8 training roughly halves the memory and bandwidth of the BF16 standard used for LLM training, directly cutting GPU cost and training time. NVIDIA's Blackwell MXFP8 hardware scales blocks of 32 values individually, and the company reports it converges as well as BF16 on an 8B model. Teams training on Hopper or newer GPUs can adopt it now via the free Transformer Engine; the main risk is convergence loss if scaling recipes are mismanaged.

FP8 uses E4M3 (±448 range) for forward passes and E5M2 (±57,344) for backward gradients, chosen via Transformer Engine recipes on Ada Lovelace, Hopper, and Blackwell. Tensor scaling (delayed amax-history vs per-tensor current scaling) applies one FP32 factor per tensor; Blackwell MXFP8 instead scales each 32-value block with an E8M0 power-of-two factor natively in Tensor Cores, allowing broader E4M3 use. MXFP8 validation perplexity tracked BF16 for an 8B LLM pretraining run; transposed tensors must be recomputed from higher precision.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

FP8 MXFP8 E4M3 E5M2 Blackwell Transformer Engine H100

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading