77 wires and counting

$ follow PyTorch

Keep up with PyTorch in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-02
stories 151

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

ExecuTorch and TensorRT harden CUDA edge cases

By RepoJournal · Filed · About PyTorch

ExecuTorch and TensorRT shipped fixes for CUDA load failures, annotation leaks, and graph-lifting bugs, while torchdistributed and torchtitan clarified security and checkpoint handling.

A missing CUDA delegate weights blob used to fail only at first execute inside a generated kernel; ExecuTorch now fails at load with a message naming the blob and the expected constant count [1]. Three annotation-store findings from a large trainer led to a fix so a capture that fails after completing a mark_kernels scope no longer leaks annotations for the process lifetime, and clears the clear_kernel_annotations workflow [2]. Relatedly, make_graphed_callables no longer relies on the cyclic GC to free CUDA graphs, avoiding cudaGraphDestroy and friends mid-capture, which previously emitted "operation not permitted when stream is capturing" and invalidated the graph [3]. In TensorRT, exporting a partitioned graph that inlined multiple get_attr nodes could generate a forward with duplicate argument names causing a SyntaxError; constants are now lifted once per target [4]. A sidecar example now exercises a truly coalesced TensorRT plus CUDA program in the gate, because the previous x+1 test was handled entirely by TensorRT [5]. TorchTitan's GraphTrainer dropped its duplicated CUDA graph manager in favor of core TorchTitan's implementation, which also enables mark_kernels profiler annotations under cudagraph [6]. On the security side, PyTorch's SECURITY.md now documents that checkpointing and its format conversion utilities share the distributed-features trust model [7] and also clarifies that malformed deserialized objects and model files must be treated as untrusted [8]. ROCm removed version guards now that the minimum supported ROCm is 7.0 [9].

Action items

References

  1. [1] Report NotFound when a CUDA delegate's weights blob is missing ↗ pytorch/executorch
  2. [2] Fix an annotation leak on failed capture, and retire the clear_kernel_annotations workflow (#195398) ↗ pytorch/pytorch
  3. [3] Free make_graphed_callables' CUDA graphs by refcount, not by the cyclic GC (#195397) ↗ pytorch/pytorch
  4. [4] Lift each constant once when exporting a partitioned graph ↗ pytorch/TensorRT
  5. [5] ci(executorch): run a coalesced TensorRT + CUDA program in the reference runner gate ↗ pytorch/TensorRT
  6. [6] Enable CudaGraph Annotations (#4359) ↗ pytorch/torchtitan
  7. [7] [SECURITY.md] Clarify that checkpoints share the distributed-features trust model (#195600) ↗ pytorch/pytorch
  8. [8] Update security guidelines in SECURITY.md (#195610) ↗ pytorch/pytorch
  9. [9] [ROCm][BE] Remove outdated version conditions (#193927) ↗ pytorch/pytorch

Quick answers

What shipped in PyTorch on September 2, 2026?
ExecuTorch and TensorRT shipped fixes for CUDA load failures, annotation leaks, and graph-lifting bugs, while torchdistributed and torchtitan clarified security and checkpoint handling. In total, 105 commits and 46 pull requests landed.
Who contributed to PyTorch on September 2, 2026?
13 developers shipped this update, including Nikita Shulga, albanD, Yuanyuan Chen, Natalia Gimelshein, shoumikhin, abeakkas, JakeStevens, and digantdesai, and 5 more.
What were the notable PyTorch updates?
Report NotFound when a CUDA delegate's weights blob is missing, Fix an annotation leak on failed capture, and retire the clear_kernel_annotations workflow (#195398), and Free make_graphed_callables' CUDA graphs by refcount, not by the cyclic GC (#195397).