Making torch_remat work in TorchTitan
PyTorch DevLogGitHubHome / DistributedMaking torch_remat work in TorchTitanAnimesh Jain (@anijain2305) · November 19, 2026 · 9 min readtorchtitandistributedactivation-checkpointingrematmemoryTL;DR – TorchTitan now uses torch_remat for activation checkpointing. Named regions in model code replace aten-level SAC policies, but distributed training made it trickier than “replay forward”: collectives needed their own regions, side effects and nondeterministic routing had to be pinned down
Read full article →