What is Gradient checkpointing?

Storing only some intermediate forward results and recomputing the rest during backpropagation, trading extra computation for less memory.

Field: AI Hardware & Software Stack

Gradient checkpointing in the explanations

Questions that mention Gradient checkpointing (1)

  1. Which describes gradient checkpointing (activation recomputation) used in training?

Related terms

Backpropagation Batch size AI compiler AI inference All-reduce Arithmetic intensity Attention mechanism Computational graph Data parallelism FlashAttention

Back to the glossary