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

INDUCTOR CAT_LINEAR FUSION CUTS MATERIALIZATION, ROCM GAINS CDNA5 SUPPORT

By RepoJournal · Filed · About PyTorch

PyTorch's inductor backend now fuses concatenation directly into linear layers, eliminating the intermediate tensor materialization that was killing performance on these common shapes.

The cat_linear fusion [1] rewrites `linear(cat([x0, x1, ...], dim=-1), W, b)` into a sum of per-piece linears on contiguous slices of W, so the concatenated activation never materializes in forward or backward pass. This pattern is ubiquitous in transformer decoder stacks and attention heads. On the hardware front, ROCm now supports gfx1250 (CDNA5) [2] across CUDABlas, ScaledBlas, and the scaled GEMM paths with Float8_e8m0fnu and mxfp formats, gated to ROCm 7.14+. The XPU backend refined its frequency handle [3] via pyzes 0.1.2's explicit `zesFrequencyGetProperties` call while maintaining backward compatibility with 0.1.1 for one release cycle. The profiler [4] now excludes Python internal frames from `key_averages()` by default, fixing the regression where `threading.py: wait` and similar noise topped hotspot lists. Inductor also shipped a critical CUDA fix [5] for the autotune module unload regression that crashed APS workflows with misaligned address errors.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [inductor] add cat_linear as a group_batch_fusion fusion (#187880) pytorch/pytorch
  2. [2] [ROCm] Add initial support for gfx1250 (#188597) pytorch/pytorch
  3. [3] [xpu] Refine frequency handle for clock_rate via pyzes 0.1.2 (#188248) pytorch/pytorch
  4. [4] [Profiler] Exclude Python function events from key_averages() by default (#188631) pytorch/pytorch
  5. [5] [inductor] Fix CUDA "misaligned address" regression from autotune module unload (#184285) (#188607) pytorch/pytorch

Quick answers

What shipped in PyTorch on July 3, 2026?
PyTorch's inductor backend now fuses concatenation directly into linear layers, eliminating the intermediate tensor materialization that was killing performance on these common shapes. In total, 70 commits and 19 pull requests landed.
What were the notable PyTorch updates?
[inductor] add cat_linear as a group_batch_fusion fusion (#187880), [ROCm] Add initial support for gfx1250 (#188597), and [xpu] Refine frequency handle for clock_rate via pyzes 0.1.2 (#188248).

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.