Learn AI Math

Mixed Precision

What is Mixed Precision?

In one sentence: Mixed precision uses different number formats for different parts of a model or task, to balance speed and accuracy.

Some calculations need high precision and others do not. In training, most math might use BF16 while sensitive parts use FP32. In quantized models, important layers might keep more bits than others.

What does Mixed Precision look like?

Training a model with BF16 math but keeping a master copy of weights in FP32 is mixed precision.

Why does Mixed Precision matter?

Mixed precision gets most of the speed of low precision with the safety of high precision.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.