Aller au contenu
Menu
Français

BF16

Sixteen-bit float that keeps FP32's exponent range for training stability.

concept Algorithmes 1 relationships

Aperçu

BF16 is a sixteen-bit format that trades mantissa precision for the same exponent range as FP32. It solves the problem that FP16 overflows and underflows during training, which makes it fragile without loss scaling. It exists because for gradient accumulation the range matters more than the precision, and it has become the default training format.

Graphe des technologies

Comment BF16 se rattache au reste de la pile.

Appliqué à