$ the-wire · showcase
Titan checkpoints drop base weights, MPS fused Adam stops inlining regression
By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology
Low-VRAM-adjacent wins and storage wins dominate: torchtitan stops re-saving frozen base weights into every LoRA checkpoint, PyTorch restores the MPS fused Adam throughput it lost in 2.13.0, and test-infra closes a Windows AMI leak that left g5.4xlarge boxes running with WinRM open to the world.
[checkpoint] Leave base weights out of training checkpoints (#6058) pytorch/torchtitan
LoRA checkpoints were storing the frozen base weights on every save, roughly 1.6 TB per checkpoint for Muse Spark 816B; the new `model_key_location` config marks each parameter `base`, `checkpoint`, or `new`, and `base` parameters are loaded from the base checkpoint and never written. Cuts checkpoint size without changing what the trainer reloads.
[MPS] Force inlining of the fused Adam math helper (#206239) pytorch/pytorch
Fused Adam and AdamW with float16 or bfloat16 params on Metal ran about 1.5x slower since 2.13.0, with or without a GradScaler, after the grad_scale and found_inf handling grew `adam_math` past the compilers' inline threshold. The fix forces inlining of that helper and was found via malfet's pytorch_metal_perf sweep. MPS fp16 training gets its throughput back.
Clean up Windows AMI builders on cancel or failure (#9575) pytorch/test-infra
Packer only reaps its builder instance, temporary security group and key pair on a clean exit, so cancelled or failed `build-windows-ami.yml` runs left a running or stopped g5.4xlarge behind with WinRM open to 0.0.0.0/0. The workflow now tags everything it creates with the GitHub run ID (`run_tags` on the instance, security group, key pair and AMI; `run_volume_tags` on the volume), passed as `P...
[profiler] Drop enable_event_node_ids: torch's CuspyConfig removed it (#6390) pytorch/torchtitan
The PyTorch nightly removed `torch.profiler.CuspyConfig.enable_event_node_ids`, and torchtitan was still passing it. Since this merges alongside #6395, kernel spans are keyed by CUDA graph annotations again; anything pinned to a nightly older than the CuspyConfig change will not have this option.
[BugFix] Set hydra.job.chdir in the remaining trainer configs pytorch/rl
Several configs that moved to Hydra `version_base="1.3"` never got `hydra.job.chdir: true`, so checkpoints and logs landed in whatever directory you launched from and two runs from the same place overwrote each other; mappo, masac, qmix, sac_trainer's `config_async` (and by inheritance ippo, isac, iql, vdn) and `vla_grpo_libero` now set it, GRPO deliberately excluded. Meanwhile the quieter tail...