What is gradient checkpointing?
Keeping only some activations during the forward pass and recomputing the rest in the backward pass. Trades extra compute for much lower activation memory.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- How much GPU do you need to fine-tune? Memory for full fine-tuning, LoRA and QLoRA · 14 min · Pro
- Lab: fine-tune a model with LoRA using PEFT and TRL, from data to a merged model · 25 min · Pro
- Fine-tuning, LoRA and instruction tuning · 17 min · Pro
- Full fine-tuning and sharding across GPUs · 15 min · Pro