The Wire · Showcase
DYNAMO STANDARDIZES CORE API, PROFILER BYPASSES C++ SERIALIZATION
By RepoJournal · Filed · About PyTorch
PyTorch's compiler is standardizing its variable tracker arguments while the profiler cuts latency by streaming traces directly to disk.
The Dynamo team standardized `call_function` and `call_method` signatures across 230+ call sites to consistently use `list[VariableTracker]` instead of the mixed `Sequence` annotations [1], eliminating type confusion that forced runtime assertions. In parallel, the profiler exposed Kineto's `ITraceActivity` objects to Python via pybind [2], enabling Python-side chrome trace export that bypasses C++ JSON serialization and writes events directly to disk through optional gzip compression, cutting both latency and memory overhead. The executorch team shipped a flurry of backend wins: NXP removed the MaxPool2D kernel size restriction now that Neutron 3.1.1 supports it [3], while the Qualcomm HTP backend added runtime heap profiling for Android with pre- and post-context checkpoints [4]. Helion's Pallas backend got a major CI boost with CPU interpret-mode testing [5] plus fixes for tile.index broadcast indexing [6] and factory padding that Triton needs but Pallas doesn't [7]. Build infrastructure bumped torch_tensorrt from 2.11 to 2.12 [8] and upgraded Windows XPU support to 2026.0 [9].
One email a day. Unsubscribe in one click.
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. Read a past issue →
Action items
- → Review Dynamo type standardization if maintaining variable tracker subclasses pytorch/pytorch [plan]
- → Test Pallas interpret CI to validate local changes without TPU hardware pytorch/helion [monitor]
- → Upgrade torch_tensorrt to 2.12 in your test environment pytorch/test-infra [plan]
- → Pin XPU support to 2026.0 on Windows CI if running Intel GPU tests pytorch/test-infra [plan]
References
- [1] [Dynamo] Standardize call_function/call_method args to list[VariableTracker] (#183600) pytorch/pytorch
- [2] [Profiler] Expose ITraceActivity to Python for direct chrome trace ex… (#184273) pytorch/pytorch
- [3] NXP backend: Remove `max_pool2d` maximum kernel size restriction. (#19688) pytorch/executorch
- [4] Qualcomm AI Engine Direct - heap profiling at runtime with HTP backend ↗ pytorch/executorch
- [5] [Pallas] Add Pallas interpret CI job (revival of #1938) ↗ pytorch/helion
- [6] [Pallas] Support tile.index broadcast indexing in load codegen ↗ pytorch/helion
- [7] [Pallas] Disable factory padding and preserve concrete dims ↗ pytorch/helion
- [8] promote torch_tensorrt from 2.11 to 2.12 ↗ pytorch/test-infra
- [9] [BE] Upgrade XPU support package to 2026.0 in Windows CICD (#8103) pytorch/test-infra