What is bf16 (bfloat16)?
A 16-bit floating-point format with the same exponent range as fp32 but less precision; the default for training on modern GPUs.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Mixed precision and multi-GPU training basics · 15 min · Pro
- Quantisation in depth: formats, groups, outliers, activations and KV · 17 min · Pro
- Non-determinism and batch invariance: why temperature 0 is not repeatable · 15 min · Pro
- Sparsity, pruning and distillation: making the model itself smaller · 16 min · Pro
- Prefill, decode and the roofline: predicting inference speed · 18 min · free
- LoRA and QLoRA in depth: rank, alpha, target layers and 4-bit base models · 16 min · free
- Lab: fine-tune a model with LoRA using PEFT and TRL, from data to a merged model · 25 min · Pro
- GPU architecture for inference: memory hierarchy, tensor cores and generations · 15 min · Pro