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

SHAPESSPEC UNLOCKS VARIADIC ARGS ACROSS DYNAMO AND QUANTIZED TENSORS GET DEPRECATION WARNING

By RepoJournal · Filed · About PyTorch

PyTorch's shape specification system now handles *args and **kwargs at the spec level, unblocking dynamic tensor shape tracking across the entire compilation pipeline.

The ShapesSpec API redesign [1] lands a critical feature for Dynamo and shape inference: ParamsSpec now accepts a single dict with reserved sentinel keys for variadic slots, letting specs describe functions that take arbitrary numbers of arguments. This removes a long-standing gap in the compiler's ability to trace flexible function signatures. In parallel, quantized tensor creation now carries a deprecation warning [3] across both Python and C++ callsites, signaling the path forward for quantization APIs without breaking existing code. The warning links to a GitHub issue, allowing messaging updates without new releases. On the infrastructure side, CUDA kernel cleanup [2] removes dead code and unused variables through mechanical clang-tidy passes, while ROCm test gates [4] drop stale version-specific skips now that newer hardware is stable. The CI dashboard work continues with new Grafana panels [5] tracking OSDC runner throughput and startup rates, giving visibility into cluster scaling behavior. Expect measurable improvements in both compiler flexibility and observability across the fleet.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [ShapesSpec] Support args, *args, **kwargs at the spec / dynamo source level (#184129) pytorch/pytorch
  2. [2] Clean up unused variables, redundant casts and namespaces in CUDA kernels (#185040) pytorch/pytorch
  3. [3] add a deprecation warning for quantized tensor creation (#184984) pytorch/pytorch
  4. [4] [ROCm] Remove stale skips in test_native_multihead_self_attention (#184802) pytorch/pytorch
  5. [5] Add two contextual panels to OSDC dashboard ↗ pytorch/ci-infra

Quick answers

What shipped in PyTorch on May 27, 2026?
PyTorch's shape specification system now handles *args and **kwargs at the spec level, unblocking dynamic tensor shape tracking across the entire compilation pipeline. In total, 77 commits and 34 pull requests landed.
Who contributed to PyTorch on May 27, 2026?
1 developer shipped this update, including jeanschmidt.
What were the notable PyTorch updates?
[ShapesSpec] Support args, *args, **kwargs at the spec / dynamo source level (#184129), Clean up unused variables, redundant casts and namespaces in CUDA kernels (#185040), and add a deprecation warning for quantized tensor creation (#184984).

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?