Module 13 · Lesson 6 of 8Pro
Checkpoints, mixed precision and gradient accumulation
- Level
- Advanced
- Reading time
- 17 min
When you finish this page you can
- Save a checkpoint that resumes a run exactly, with model, optimizer, schedule, scaler, progress and random state, written so a crash mid-save can’t destroy it.
- Choose how often to save from the write time and how often runs die.
- Say what mixed precision adds to a checkpoint, and why it doesn’t shrink the weights, gradients and optimizer state.
- Combine gradient accumulation with a gradient scaler, clipping and a learning rate schedule without changing the update.
Builds on 3 lessons
Start with Module 09, lesson 1018 minVideo lesson · coming soon
The run that came back worse
Our biggest sale ever · Black Friday
Flat 50% Off
Pro
Continue reading
Unlock every course, now and later
- System Design, live
- AI Engineering, live
- Data Engineering, live
- Machine Learning Engineering, live
- Inference Engineering, coming soon
- AI Research, coming soon
- Performance Engineering, coming soon
- Agent & Harness Engineering, coming soon
- LLM Fine-tuning, coming soon
- LLM Pre-training & Post-training, coming soon
- Reinforcement Learning, coming soon
- AI Infrastructure & Platform Engineering, coming soon
- AI Evaluation & Safety, coming soon
- Forward Deployed Engineering, coming soon
- Cloud Computing, coming soon
- DevOps, coming soon
50% off · Annual and Lifetime
BLACKFRIDAY50Applied at checkout
View all plansAlready Pro? Sign in