Skip to content

    Gradient Checkpointing

    AI fundamentals & modelsActivation CheckpointingActivation checkpointing
    Reading time: 2 min.Editorially reviewed on:

    Definition

    Gradient Checkpointing saves training memory by recalculating selected activations later.

    Instead of storing all intermediate values for backpropagation, the training only retains checkpoints and recalculates missing activations. Memory decreases, computing time increases.

    Simply explained

    The model only remembers intermediate stations and calculates paths in between later again.

    Why it matters in practice

    It allows for larger models or batches on the same hardware, but not for free.

    Example from business

    Hypothetical example: A Transformer activates checkpointing and compares VRAM, throughput and training time.

    Limits and pitfalls

    • Confuse with model checkpoints; ignore extra computational costs; overlook incompatible random or stateful operations.

    Origin & history

    Chen et al. published “Training Deep Nets with Sublinear Memory Cost” in 2016 to exchange additional computation for lower training memory.

    Use in mid-sized companies

    • Use checkpointing when activation memory is the bottleneck, and compare memory needs and training time.

    Frequently asked questions

    Does it save model states?

    No. Does training become faster? Usually slower, but more memory-efficient.

    Sources

    Source check: 10.10.2026. Definition and documented classification verified; examples describe possible applications.

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice