Jargonautica
Making Models Smaller, Faster and Cheaper

Precision Formats

Also called: FP16, BF16, FP8, INT8

How many bits are used for each number, and how they are arranged. Fewer bits means less memory and more speed, with some loss of accuracy. The names are cryptic: FP32 is full precision, BF16 and FP16 are half, FP8 and INT8 are quarter, and INT4 is what lets a large model run on a laptop.

Technical view

Floating point formats trade exponent bits, which give range, against mantissa bits, which give precision. BF16 keeps FP32’s exponent range with fewer mantissa bits, avoiding the overflow problems that make FP16 training require loss scaling. Integer formats need scale factors, applied per tensor, per channel or per group, with finer granularity preserving more quality. Weights tolerate lower precision than activations, and outlier channels dominate quantisation error.


Part of AI Terminology Index, section: Making Models Smaller, Faster and Cheaper.

How it connects

Precision Formats links to 5 other terms. The faint lines are links between those terms. See it in the full graph.

Memory BandwidthMemory BandwidthQuantisationQuantisationAccelerator TypesAccelerator TypesMixed Precision TrainingMixed Precision Tra…Field-programmable Gate ArrayField-programmable …Precision Formats