Per-Tensor and Per-Block Scaling Strategies for Effective FP8 Training

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

Why it matters

Practitioners training large models can now choose concrete FP8 scaling recipes that match BF16 accuracy, cutting training compute and memory costs on NVIDIA Blackwell GPUs.

Read this as

This is NVIDIA's guide to a trick that lets AI models train using less computer memory. Normally numbers in AI models are stored in a roomy format called BF16; this article explains how to safely shrink them into a much smaller format called FP8. The key challenge is that some numbers in a model are huge and others tiny, so each chunk needs its own adjustment factor. NVIDIA shows this works without hurting accuracy, which could make training AI models cheaper.

NVIDIA details scaling strategies that make FP8, a low-precision number format that cuts training cost and memory, viable for large language models. Using its Nemotron 2B and 8B models, NVIDIA reports MXFP8 on Blackwell GPUs matches BF16 validation perplexity. Teams with Blackwell hardware gain a path to cheaper training; those on older GPUs cannot use the hardware-native MXFP8 recipe. The article omits speed and cost figures entirely.

The post covers per-tensor scaling (delayed vs current), per-block scaling, MXFP8, and generic blockwise recipes in Transformer Engine/NeMo. Delayed scaling uses a window of amax history and fails when outliers dominate; current scaling measures amax per batch. MXFP8 uses 32-value blocks with E8M0 exponent-only scales and automatic requantization for transposes on Blackwell Tensor Cores. Nemotron 2B and 8B show MXFP8 validation perplexity curves matching BF16; generic block scaling supports 1x128 or 128x128 shapes with FP32 scales.

Read the original

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

Key terms

NVIDIA Blackwell MXFP8 Nemotron Transformer Engine NeMo

Was this summary useful?

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

Related reading