Chip Foundry Services Request Assessment

Activation Checkpointing

Activation checkpointing (the third in a series of related techniques, following standard and selective checkpointing) trades additional recomputation time for reduced memory usage by discarding most intermediate activations during the forward pass and recomputing them on demand during the backward pass, rather than retaining every activation in memory for the entire forward-to-backward interval. This recompute-rather-than-retain strategy is specifically valuable when memory, rather than compute time, is the binding constraint on how large a model or batch size a given training setup can actually support.