117 wires and counting

$ follow PyTorch

Keep up with PyTorch in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-29
stories 125

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Inductor stops reinplacing index_put, ExecuTorch fixes ConvTranspose BatchNorm fusion

By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology

Today's wire is a correctness day: a wrong-value fix in the Inductor reinplace pass, a silently wrong BatchNorm fold for transposed convolutions, and negative padding finally matching eager PyTorch.

[inductor] Don't reinplace index_put when indices or values share storage with the input (#198637) pytorch/pytorch

by TANGBUDU

The reinplace pass converted index_put(x, [idx], val) into index_put_ without checking whether idx or val read x's own storage. For torch.put(r, r, r, accumulate=True) the kernel then read indices and values from the buffer it was writing, producing wrong results on CPU and tripping aten's overlap check on CUDA.

Fix FuseBatchNormWithConvPass for transposed convolutions pytorch/executorch

by msluszniak

FuseBatchNormWithConvPass folded BatchNorm on the input-channel axis after a ConvTranspose, which gave wrong values when in == out and a shape error otherwise; the fix passes transpose= and handles grouped transposed weights. Four of the six cases in backends/transforms/test/test_fuse_batch_norm_with_conv.py failed before it, so any exported model with a transposed conv followed by BatchNorm wa...

Support negative padding in constant_pad_nd pytorch/executorch

by JakeStevens

constant_pad_nd now crops the input before applying positive padding, matching PyTorch's handling of negative padding, with the optimized library receiving the same fix through its fallback registration. Mixed cropping and padding, empty tensors, fully cropped inputs, and channels-last layouts are covered, and excessive cropping or output-dimension overflow is rejected.

Reject packed documents in DeepSeek V4 sparse attention pytorch/torchtitan

by ZenAlexa

get_attention_masks() discarded position IDs, so packed documents with reset positions could cross document boundaries in DeepSeek V4 sparse attention. Non-padding reset positions are now rejected at the model mask hook with a NotImplementedError; single-document inputs and padding-only resets keep the existing None mask contract.

[qwen3.5] Tie embeddings for the 0.8B, 2B, and 4B flavors (#4916) pytorch/torchtitan

by wwwjn

The torchtitan configs for the Qwen3.5-0.8B, 2B, and 4B flavors kept a separate lm_head even though those Hugging Face checkpoints set tie_word_embeddings=true and store no lm_head.weight, so loading failed with "Missing key in checkpoint state_dict: lm_head.weight." Weight tying is now enabled for all three flavors, matching what the Qwen3 small flavors already do.

[ROCm][test]Reuse device meshes across ComposabilityTest cases (#198299) pytorch/pytorch

by Chinmay Kuchinad

ComposabilityTest, a MultiProcContinuousTest, rebuilt a DeviceMesh for every test, and each mesh creates new NCCL communicators that hold roughly 40 MB of proxy-ops segment per rank in /dev/shm on RCCL. The class accumulated about 10 GB and hit ENOSPC on 10 GiB /dev/shm containers; meshes are now reused across cases.

Quick answers

What shipped in PyTorch on September 29, 2026?
Today's wire is a correctness day: a wrong-value fix in the Inductor reinplace pass, a silently wrong BatchNorm fold for transposed convolutions, and negative padding finally matching eager PyTorch. In total, 75 commits and 50 pull requests landed.
Who contributed to PyTorch on September 29, 2026?
14 developers shipped this update, including msluszniak, Jacob Stevens, dongjiang1989, mergennachin, Chinmay Kuchinad, xjbanana258, TANGBUDU, and Lazar Stojiljkovic, and 6 more.
What were the notable PyTorch updates?
[inductor] Don't reinplace index_put when indices or values share storage with the input (#198637), Fix FuseBatchNormWithConvPass for transposed convolutions, and Support negative padding in constant_pad_nd.