TPU: Why Google Doesn’t Wait in Line for NVIDIA GPUs (2/2)
dev.to·2d·
Discuss: DEV
🖥️Modern Terminals
Preview
Report Post

Continued from: https://dev.to/jiminlee/tpu-why-google-doesnt-wait-in-line-for-nvidia-gpus-12-2a2n

3. "Close Enough" is Good Enough (bfloat16)

Traditional scientific computing uses FP64 (double precision) or FP32 (single precision). These formats are incredibly accurate.

But Deep Learning isn’t rocket trajectory physics. It doesn’t matter if the probability of an image being a cat is 99.123456% or 99.12%.

Google leveraged this to create bfloat16 (Brain Floating Point).

It uses 16 bits (like FP16).

But it keeps the wide dynamic range of FP32.

FP16 can crash training because it can’t handle very tiny or very huge numbers (range: ~6e-5 to 6e4).…

Similar Posts

Loading similar posts...