Activation checkpointing saves selected forward-pass boundaries instead of every intermediate tensor needed for gradients. During backward, it reruns the missing forward work to reconstruct those values. This reduces activation memory by spending computation. FSDP also shards parameters and gathers the needed weights around computation. The combination can add recompute, extra parameter materialization or communication pressure, depending on wrapping, resharding and checkpoint boundaries. PyTorch's FSDP and activation-checkpointing discussion describes the extra backward computation, while FSDP documentation explains when unsharded parameters are freed and gathered again.

“We fit the model now” and “we train more tokens per second” are different wins. If the freed memory allows a larger microbatch, longer sequence or a model that previously could not run, recomputation may be worth it. If the batch remains unchanged, the same job can simply do more forward work per optimizer step. Broad checkpoint boundaries may also reduce overlap between all-gathers and useful compute.

I would profile one step at a fixed effective token count with and without checkpointing. Break down forward, recompute, backward, all-gather wait and optimizer time. Track peak allocated and reserved GPU memory. Then try the microbatch or sequence length the memory saving was intended to enable and compare useful tokens per second at equal quality settings. A profiler trace can tell us whether the issue is extra FLOPs, repeated communication, or a poor FSDP wrapping choice. GPU utilization alone cannot make that distinction.

The boundary matters. Checkpoint every tiny operation and the overhead grows. Checkpoint too little and memory stays high. Align checkpoint regions with sensible transformer blocks and understand whether the FSDP implementation reshards parameters after forward, because that determines what needs to be gathered again. Do not assume every checkpointed recomputation forces exactly one extra all-gather in every implementation.

If someone says the run is now slower so checkpointing failed, I would ask what constraint we were solving. Training a larger model or doubling useful tokens per step may justify a slower individual step. State the objective and compare the full training recipe, not the isolated memory number.

A useful trace labels one transformer block’s original forward, backward recomputation and parameter all-gathers. FSDP means fully sharded data parallelism: workers retain different parameter shards and gather full parameters when a region needs them. Whether recomputation repeats a gather depends on which parameters were retained, whether the checkpointed region re-enters FSDP hooks and where boundaries sit. Count actual collectives and their wait time before changing communication settings.

Consider a hypothetical baseline processing 1,000 useful tokens in a 1.0-second step. A checkpointed recipe processing 2,000 useful tokens in 1.4 seconds is slower per step but reaches about 1,429 tokens per second, compared with 1,000 before. This is not a measured speedup. It shows why step duration alone cannot choose the recipe. If both configurations process the same 1,000 tokens and quality is unchanged, the extra 0.4 seconds instead lowers throughput.

Keep the effective optimization batch comparable when increasing microbatch size. Reducing gradient-accumulation count can preserve total tokens per update, while changing the total batch introduces a second training experiment. Also preserve recomputation correctness: dropout and other stateful operations must reproduce the intended forward computation. Selective checkpointing may retain expensive operations and recompute cheaper ones, but its benefit depends on the model and backend. Validate one update against a reference before trusting a faster memory configuration.