$ the-wire · showcase
PyTorch 2.14.0 ships, import reload guarded, AI reviewer unblocks merges
By RepoJournal · Filed · About PyTorch
PyTorch 2.14.0 is out with NVGEMM on Inductor, while a safety guard stops reload(torch) segfaults and the AI CI Advisor now clears non-blocking failures.
PyTorch 2.14.0 released, bringing NVGEMM, CuTeDSL-generated CUTLASS kernels to Inductor, alongside the usual backwards incompatible changes, deprecations, and security fixes [1]. The release matrix now advertises 2.14.0 as stable, with the getting-started page and generated entries updated accordingly [2].
Re-running `import torch` after a failed import is now rejected; previously a `reload(torch)` could pass once but then segfault from the second call onwards. This is technically breaking for that edge case, but the old state was "a precarious state primed for segfault at any moment" [3].
On the test-infra side, the AI CI Advisor's cleared verdicts now move failures into a new non-blocking `AI_NOT_RELATED` bucket, so jobs the advisor clears no longer block merges [4]. The greenlight reviewer also gained a time budget hook that nudges progress as deadlines approach [5]. In TorchRL, the `AsyncEnvPool` shutdown deadlock with `exchange="queue"` is fixed; unread results left in the result queue caused `shutdown()` to hang indefinitely once buffers filled [6]. Executorch fixed causal attention masking where query length was shorter than keys, with error against eager up to 3.4 in that case [7].
Action items
- → Review the breaking change in PyTorch 2.14.0 that rejects re-running import torch after a failed import pytorch/pytorch [immediate]
- → Upgrade to PyTorch 2.14.0 and update release matrix references pytorch/pytorch [plan]
- → Monitor the AI_NOT_RELATED bucket and greenlight time budget changes pytorch/test-infra [monitor]
References
- [1] PyTorch 2.14.0 Release ↗ pytorch/pytorch
- [2] Release 2.14 go live. Update release matrix ↗ pytorch/test-infra
- [3] Reject re-running `import torch` after a failed import (#194654) ↗ pytorch/pytorch
- [4] Add an AI_NOT_RELATED bucket for advisor-cleared failures ↗ pytorch/test-infra
- [5] Give the greenlight reviewer a review time budget ↗ pytorch/test-infra
- [6] [BugFix] Fix AsyncEnvPool queue-exchange shutdown deadlock ↗ pytorch/rl
- [7] Give causal attention the mask PyTorch asks for (#22443) ↗ pytorch/executorch