RepoJournal
PyTorch

@pytorch

PyTorch and the broader machine-learning ecosystem

Pick a date

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.

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

FAQ

What changed 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.
What should PyTorch teams do about it?
Review ShapesSpec migration if you're working on Dynamo tracing or shape inference • Audit quantized tensor creation callsites for deprecation warnings • Monitor new OSDC Grafana panels for cluster health anomalies
Which PyTorch repositories shipped on May 27, 2026?
pytorch/pytorch, pytorch/ci-infra

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.