Lesson 10 of 188 min

Training on a GPU

Training holds 16 bytes for every weight, plus values that grow with the batch: so choose the batch that fits, use bf16 to hold a big model in half the room, and save as you go.

After this lesson you can choose a batch size and precision that fit in memory, and save checkpoints.

Loading the video…

Refreshers

An idea from an earlier lesson shows up here when the video leans on it.

You use this lesson in Lab 4: A training run that checks itself, after Warmup and learning-rate schedules.

Facts last checked on .