RepoJournal
PyTorch

@pytorch

PyTorch and the broader machine-learning ecosystem

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

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python AI / ML Full archive →

The Wire · Showcase

PYTORCH ROLLS BACK NAMED TENSOR REMOVAL, FIXES CHROMIUM PROFILER LEAK

By RepoJournal · Filed · About PyTorch

PyTorch reverted a breaking change that tanked internal signals, while the core team patched a profiler bug that was nuking outer event context.

The named tensor removal [1] is back after it broke internal infrastructure, a significant signal that the community still depends on this API. In parallel, the profiler team fixed a scoped Chromium event bug [2] where exiting a nested profiling context was wiping the entire thread-local event stack, collapsing outer events in the process. On the schema front, error messages for future annotations now surface the actual NameError [3] instead of swallowing it behind a bare exception handler, making debugging type resolution issues dramatically less painful. Inductor's accumulate_grad op got a state modeling fix [4] that makes functionalization explicit: the op now takes current grad as input and returns updated grad, killing hidden Tensor.grad reads that were breaking compiled autograd. The XPU team also standardized their oneDNN integration [5], swapping C API calls for C++ equivalents in DnnlExt.h to eliminate the inconsistent mixing of styles. TensorRT's dependency lockfile got a routine update.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Revert "Remove named tensor (#173895)" pytorch/pytorch
  2. [2] Fix scoped Chromium event reset (#184973) pytorch/pytorch
  3. [3] [library] Improve infer_schema error message when future annotations cause NameError (#185694) pytorch/pytorch
  4. [4] Fix functional accumulate_grad state modeling (#184082) pytorch/pytorch
  5. [5] [xpu] Refactor OneDNN C API to C++ API (#184486) pytorch/pytorch

Quick answers

What shipped in PyTorch on June 1, 2026?
PyTorch reverted a breaking change that tanked internal signals, while the core team patched a profiler bug that was nuking outer event context. In total, 39 commits landed.
What were the notable PyTorch updates?
Revert "Remove named tensor (#173895)", Fix scoped Chromium event reset (#184973), and [library] Improve infer_schema error message when future annotations cause NameError (#185694).

More from @pytorch

Daily updates, in your inbox

Follow PyTorch

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

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?