Toolsslug: torch-remat

torch_remat

Activation checkpointing library from Meta's PyTorch team supporting named-region recomputation control.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
62 pts
TorchTitan Adopts torch_remat for Activation Checkpointing

TorchTitan has switched its activation checkpointing to torch_remat, replacing aten-level SAC policies with named regions in model code. In distributed training, collectives, side effects and nondeterministic routing all had to be pinned down during replay, and the missing early-stop optimization caused recomputation to use more memory than stashing in one case.