bfloat16
A 16-bit floating-point format using 1 sign bit, 8 exponent bits and 7 mantissa bits. It has the same dynamic range as FP32 but lower precision.
Core Facts
Timeline (last 90 days)
The bf16 version typically retains relatively complete model capabilities, but its VRAM usage is notably higher than that of quantized versions such as 4bit and 8bit.
The perturbation of bfloat16 relative to float16 is 8.00x, and the perturbation of float16 relative to float32 is 8192.0x.
The bfloat16 baseline throughput is 18.8K tokens/s/GPU, while the fastest custom path reaches 37.9K tokens/s/GPU, nearly doubling the throughput.
The mxfp scheme (stochastic rounding + Hadamard preprocessing) achieves 37.2K tokens/s/GPU, corresponding to 86.3% MFU, with a final training loss 2.11% higher than pure bfloat16.
The Transformer Engine's TE recipe (retaining 4 bfloat16 blocks at the end) has a training loss only 0.87% higher than bfloat16, but throughput remains at 27.1K tokens/s/GPU.
All Facts (6)
Compared to FP16, BF16 has the same 8-bit exponent width as FP32 and therefore a larger dynamic range, making it the mainstream precision choice for current large model training.
90%UnverifiedThe bf16 version typically retains relatively complete model capabilities, but its VRAM usage is notably higher than that of quantized versions such as 4bit and 8bit.
50%UnverifiedThe perturbation of bfloat16 relative to float16 is 8.00x, and the perturbation of float16 relative to float32 is 8192.0x.
50%UnverifiedThe bfloat16 baseline throughput is 18.8K tokens/s/GPU, while the fastest custom path reaches 37.9K tokens/s/GPU, nearly doubling the throughput.
50%UnverifiedThe mxfp scheme (stochastic rounding + Hadamard preprocessing) achieves 37.2K tokens/s/GPU, corresponding to 86.3% MFU, with a final training loss 2.11% higher than pure bfloat16.
50%UnverifiedThe Transformer Engine's TE recipe (retaining 4 bfloat16 blocks at the end) has a training loss only 0.87% higher than bfloat16, but throughput remains at 27.1K tokens/s/GPU.
50%