RepoJournal
PyTorch

@pytorch

PyTorch and the broader machine-learning ecosystem

What actually shipped in PyTorch, written up every day — commits, pull requests, releases, and security advisories.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python AI / ML Full archive →

The Wire · Showcase

DYNAMO REVERTS BREAKING CHANGE, EXECUTORCH CLEANS UP DEPRECATED TYPES

By RepoJournal · Filed · About PyTorch

PyTorch reverted a Dynamo optimization that broke internal tests, while ExecutorTorch is aggressively deprecating c10 shims in favor of standard library types.

The Dynamo team rolled back a getattr_static optimization [1] that was intended to reduce overhead but instead broke nested graph break tests. This is a tactical retreat, not a design failure, but it signals that the compile path still has rough edges at scale. Meanwhile, ExecutorTorch is making the hard push to emit std::string_view and std::optional directly [4] instead of torch::executor aliases, cleaning up deprecated type layers. That cleanup [5] caused internal build failures [6], which they immediately reverted, so expect a more surgical second pass. On the memory front, CUDAGraph now properly releases private mempools after capture failures [3], fixing a leak that could exhaust reserved segments over time. The pytorch/pytorch mainline also removed five dead CMake build options [2] with no remaining consumers, including USE_NNAPI, USE_PROF, and USE_TENSORRT. ExecutorTorch also removed the _use_edge_ops=False default [8], and the Arm backend cleaned up stale xfails [9]. Finally, benchmark caught and fixed a ROCm-specific random fallback that was regressing A100 accuracy [7].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Revert "[Dynamo] Use getattr_static when probing internal attributes (#189524)" pytorch/pytorch
  2. [2] Remove dead build options and unused CMake variables (#190450) pytorch/pytorch
  3. [3] CUDAGraph releases memory after capture error (#190348) pytorch/pytorch
  4. [4] Emit std::string_view/std::optional from codegen (#21000) pytorch/executorch
  5. [5] Remove c10 shim includes and redundant std type aliases (#20900) pytorch/executorch
  6. [6] Revert "Remove c10 shim includes and redundant std type aliases" (#21050) pytorch/executorch
  7. [7] Guard DistillGPT2 fallback_random override to ROCm only (#190306) pytorch/benchmark
  8. [8] Remove _use_edge_ops=False (#20909) pytorch/executorch
  9. [9] Arm backend: Remove stale rshift scalar xfail (#21037) pytorch/executorch

Quick answers

What shipped in PyTorch on July 21, 2026?
PyTorch reverted a Dynamo optimization that broke internal tests, while ExecutorTorch is aggressively deprecating c10 shims in favor of standard library types. In total, 71 commits and 20 pull requests landed.
Who contributed to PyTorch on July 21, 2026?
9 developers shipped this update, including MOHAMMED HANAN M T P, cyy, JaimeLucero, Dmitry Nikolaev, PyTorch MergeBot, SaoirseARM, Jacob Stevens, and Scott Roy, and 1 more.
What were the notable PyTorch updates?
Revert "[Dynamo] Use getattr_static when probing internal attributes (#189524)", Remove dead build options and unused CMake variables (#190450), and CUDAGraph releases memory after capture error (#190348).

More from @pytorch

Daily updates, in your inbox

Follow PyTorch

What actually shipped in PyTorch, written up every day — commits, pull requests, releases, and security advisories.

or

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

Elsewhere on the wire

Want every project, not just this one?