Experiment · runtime perf

Gradient checkpointing Mac training

Activation recompute is a scale-dependent lever; it should stay opt-in for models where memory, not step time, is the blocker. Retained outcome: worked with caveat.

Outcome
worked with caveat
Family
runtime perf
Evidence confidence
exact
Record
infrastructure

Evidence readout

behemoth B=4 ctx=1024 peak memory dropped `27679 MB -> 17816 MB` while step/s moved `0.4 -> 0.3`; tiny memory worsened `161 MB -> 189 MB`

What the attempt taught

Activation recompute is a scale-dependent lever; it should stay opt-in for models where memory, not step time, is the blocker.

Why it stopped or stayed bounded

Checkpointing recovered large-model memory but hurt small-model memory and speed, and the OOMGuard estimator still reports uncheckpointed activation projections.

Method and scope

  • Experiment family: runtime perf.
  • Record kind: infrastructure.

Disposition

Update memory estimation for `--grad-checkpoint` and consider selective layer checkpointing before broad default use.

This retained disposition is historical evidence, not authorization to restart the experiment. A new run needs a fresh question, frozen evaluator, explicit resource budget, and scoped tracking issue.

How to read this dossier

This canonical page separates the retained repository decision from the material that informed it. A source may describe an external claim, historical measurement, local observation, or planned procedure; those evidence classes are not interchangeable. Follow the provenance links before reusing a number or method.

Status and disposition describe what PostTrainLLM retained when this record was indexed. They are not a live product promise, a newly run benchmark, or permission to restart historical work. Unknown or unmeasured fields remain unknown rather than being treated as zero.

To reuse the record, first name the exact claim you need and trace it to the linked source. Then check whether the original environment, model revision, data split, evaluator, hardware, and budget match the proposed use. If they do not, treat the record as a hypothesis or design reference and run the smallest fresh comparison that can falsify it. Preserve negative outcomes and regressions beside any improvement; a local win on one slice does not silently become a general capability claim.

Source provenance

The normalized record comes from docs/attempts.json. The links below are the tracked evidence and explanatory sources preserved with the record.