AI engineering glossary · Deep learning core

What is AMP (mixed precision training)?

Mixed precision training (also called AMP, FP16 training): A method that runs most calculations in 16-bit floating point while keeping a 32-bit copy of the weights for updates. It cuts memory use and speeds up GPUs that have hardware for half precision, with little effect on accuracy when done right.

Level: intermediateTopic: Deep learning core

Mixed precision training: an example

Using autocast in PyTorch with a Colab T4 GPU can noticeably shorten epochs versus pure 32-bit.

Related terms

More Deep learning core terms

Where you learn it

Mixed precision training is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.