the.ai

Hardware / Numerics

verified

Number Format

A floating-point number splits its bits between an exponent, which decides how large or small a value it can express, and a mantissa, which decides how precisely. Training cares far more about the first than the second — a gradient that is too small to represent becomes zero and the update is simply lost, while a gradient known to three digits instead of five trains fine.

Viz primitive · budget-splitunderflowing-values = 8

underflowing-values holds 7% of the budget; rest holds the remaining 93%.

Gradient values that fall below the format's smallest normal and become exactly zero, against the values that survive the cast, in values. Drag the underflow up to watch the update be computed from less and less of the tensor — loss scaling is the constant that shifts it all back into range.

8

Reviewed by opendroid · 2026-08-18