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.
What actually shipped in PyTorch, written up every day — commits, pull requests, releases, and security advisories.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review your torch.compile() usage if wrapping bound methods - the revert [ref:5] restores old behavior pytorch/pytorch [monitor]
- → If you consume ExecutorTorch wheels, audit your c10 shim includes before the next cleanup lands [ref:9] pytorch/executorch [plan]
- → Upgrade to CUDAGraph memory fix [ref:4] if running capture-heavy workloads with error handling pytorch/pytorch [plan]
- → Verify benchmark suite accuracy on A100 with the DistillGPT2 fix [ref:11] pytorch/benchmark [monitor]
References
- [1] Revert "[Dynamo] Use getattr_static when probing internal attributes (#189524)" pytorch/pytorch
- [2] Remove dead build options and unused CMake variables (#190450) pytorch/pytorch
- [3] CUDAGraph releases memory after capture error (#190348) pytorch/pytorch
- [4] Emit std::string_view/std::optional from codegen (#21000) pytorch/executorch
- [5] Remove c10 shim includes and redundant std type aliases (#20900) pytorch/executorch
- [6] Revert "Remove c10 shim includes and redundant std type aliases" (#21050) pytorch/executorch
- [7] Guard DistillGPT2 fallback_random override to ROCm only (#190306) pytorch/benchmark
- [8] Remove _use_edge_ops=False (#20909) pytorch/executorch
- [9] Arm backend: Remove stale rshift scalar xfail (#21037) pytorch/executorch