The story’s score and claims

Comments on No. 42 of 80 · docs.pytorch.org · edition of Sunday 22 November 2026

Making torch_remat work in TorchTitan

Summary

Animesh Jain describes how TorchTitan integrated torch_remat for activation checkpointing, replacing aten-level selective activation checkpointing policies with named regions in model code. Distributed training complicated the approach: collectives needed their own regions, side effects and nondeterministic routing had to be controlled during replay, and missing early-stop optimization sometimes made recomputation…

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules