[KongchangAI]
ConceptGradient Checkpointing / 激活重计算

Gradient Checkpointing

A deep learning memory optimization technique that stores only a subset of intermediate activations during the forward pass and recomputes the remaining activations during the backward pass in order to save GPU memory, at the cost of additional computation.

Timeline (last 90 days)

Nov 18

Gradient checkpointing and ZeRO reduce average memory along two dimensions—single-GPU activations and cross-GPU state—respectively, but neither schedules for instantaneous peaks within a training step.

Unverified50%
Nov 18

Gradient checkpointing (activation recomputation) does not save all intermediate activations during the forward pass, retaining them only at a few checkpoints, and recomputes the missing activations from the nearest checkpoint during backpropagation.

Unverified50%
Oct 31

Gradient accumulation does not change the activation peak of a single forward pass, so it cannot replace gradient checkpointing.

Unverified50%
Oct 17

Gradient checkpointing is a technique that trades compute for memory, reducing memory usage from proportional to the number of layers to proportional to the checkpoint interval.

Unverified50%
Oct 15

4-bit quantization, gradient checkpointing, and small-scale proxy-model pre-experiments can bring down the GPU requirements of experiments during the queueing period, reducing the number of trials once the cards are actually obtained.

Unverified50%
Sep 28

Gradient checkpointing and mixed-precision training (FP16/BF16) are common memory-reduction measures.

Unverified50%
Sep 21

Gradient Checkpointing trades recomputation for memory space and can reduce activation memory by approximately 60–70%.

Unverified50%
Sep 6

Gradient checkpointing technology trades approximately 33% additional computational overhead for approximately 60–70% savings in GPU memory.

Unverified50%

All Facts (9)

Unverified

Gradient checkpointing and ZeRO reduce average memory along two dimensions—single-GPU activations and cross-GPU state—respectively, but neither schedules for instantaneous peaks within a training step.

50%
Unverified

Gradient checkpointing (activation recomputation) does not save all intermediate activations during the forward pass, retaining them only at a few checkpoints, and recomputes the missing activations from the nearest checkpoint during backpropagation.

50%
Unverified

Gradient accumulation does not change the activation peak of a single forward pass, so it cannot replace gradient checkpointing.

50%
Unverified

Gradient checkpointing is a technique that trades compute for memory, reducing memory usage from proportional to the number of layers to proportional to the checkpoint interval.

50%
Unverified

4-bit quantization, gradient checkpointing, and small-scale proxy-model pre-experiments can bring down the GPU requirements of experiments during the queueing period, reducing the number of trials once the cards are actually obtained.

50%
Unverified

Gradient checkpointing and mixed-precision training (FP16/BF16) are common memory-reduction measures.

50%
Unverified

Gradient Checkpointing trades recomputation for memory space and can reduce activation memory by approximately 60–70%.

50%
Unverified

Gradient checkpointing technology trades approximately 33% additional computational overhead for approximately 60–70% savings in GPU memory.

50%
Unverified

梯度检查点是一种用时间换空间的策略,通常能减少60-70%的显存占用,代价是约30%的额外计算时间

50%

Source Articles