RepoJournal

$ cat pytorch/week/2026-08-31.log

PyTorch

PyTorch

the week in review · Aug 31 – Sep 6, 2026

PyTorch 2.14.0 ships, security docs clarified

MPS complex std/var fixes and CUDA graph lifecycle improvements also landed across the ecosystem.

459 commits 207 PRs merged 3 releases 6 briefings covered

What shipped: PyTorch 2.14.0 released and went live in the release matrix [1][2]. Alongside, two security documentation changes clarify that checkpoints share the distributed-features trust model and update security guidelines; review these if you handle untrusted checkpoints [3][4]. Also landed: MPS complex std/var now returns real results [5], and torch::nn::Sequential::clone() preserves submodule names [6]. Inductor fixed stale captured-tensor mutations in while_loop, and executorch reports NotFound when a CUDA delegate's weights blob is missing, plus fixed dropped edge-manager passes [7][8]. Torchtitan added a B200 Kimi K3 CI lane, fixed RL CIFlow tags [9], and overhauled MxFP8 support [9].

Why it matters: The import reload rejection means code that catches an initial failed import and retries will break; PyTorch 2.14.0's CUDA graph freeing now relies on refcounts, not the cyclic GC, which could affect memory management in long-running processes [10][11]. Torchtitan now trains MoE routers in fp32 with bf16x9 on Blackwell, a shift if you rely on prior numerics [9]. The security doc clarifications make it explicit that checkpoints are not a safe boundary; treat them with the same suspicion as distributed features [3].

Under the hood: The MPS fix corrects the dtype of std/var results for complex tensors, aligning with CPU/CUDA behavior [5]. CUDA graph annotation leaks on failed capture were fixed, and the clear_kernel_annotations workflow retired [14]. Executorch also runs a coalesced TensorRT + CUDA program in the reference runner gate [8]. Torchtitan counts both attention matmuls in FLOPs estimates and uses the actual step window for end-to-end timing [12][13].

Also: Test infrastructure added an AI_NOT_RELATED bucket for advisor-cleared failures [15], and ROCm removed outdated version conditions [16].

References

  1. [1] PyTorch 2.14.0 Release ↗ pytorch/pytorch
  2. [2] Release 2.14 go live. Update release matrix ↗ pytorch/test-infra
  3. [3] [SECURITY.md] Clarify that checkpoints share the distributed-features trust model (#195600) ↗ pytorch/pytorch
  4. [4] Update security guidelines in SECURITY.md (#195610) ↗ pytorch/pytorch
  5. [5] [MPS] Fix complex std/var to return a real result (#195344) ↗ pytorch/pytorch
  6. [6] Preserve submodule names in torch::nn::Sequential::clone() (#195107) ↗ pytorch/pytorch
  7. [7] Report NotFound when a CUDA delegate's weights blob is missing ↗ pytorch/executorch
  8. [8] ci(executorch): run a coalesced TensorRT + CUDA program in the reference runner gate ↗ pytorch/TensorRT
  9. [9] [ci] Add B200 Kimi K3 lane and fix RL CIFlow tag triggers ↗ pytorch/torchtitan
  10. [10] Free make_graphed_callables' CUDA graphs by refcount, not by the cyclic GC (#195397) ↗ pytorch/pytorch
  11. [11] Reject re-running `import torch` after a failed import (#194654) ↗ pytorch/pytorch
  12. [12] [flux] Count both attention matmuls in the FLOPs estimate (#4366) ↗ pytorch/torchtitan
  13. [13] [Bug] Use actual step window for end-to-end timing (#4298) ↗ pytorch/torchtitan
  14. [14] Fix an annotation leak on failed capture, and retire the clear_kernel_annotations workflow (#195398) ↗ pytorch/pytorch
  15. [15] Add an AI_NOT_RELATED bucket for advisor-cleared failures ↗ pytorch/test-infra
  16. [16] [ROCm][BE] Remove outdated version conditions (#193927) ↗ pytorch/pytorch

$ ls pytorch/week/ # the briefings behind this review