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 STACK FIXES CRITICAL NANOUTPUTS AND DTYPE BUGS WHILE CI INFRA PIVOTS TO IPV6

By RepoJournal · Filed · About PyTorch

PyTorch's compiler pipeline landed three critical fixes overnight that prevent NaN outputs in LayerNorm, enforce dtype safety in in-place division, and repair tail reduction logic, while infrastructure teams are destroying and recreating all OSDC clusters for IPv6 migration.

The inductor desk closed out a rough week. LayerNorm on CPU with float16 was silently producing NaN when inputs contained Inf values [1], a numerical collapse in Welford variance that now gets guarded with a where() check. Separately, the `div_` kernel was type-promoting incorrectly on int/long inputs, mismatching eager semantics [2], fixed by pulling it out of the generic binop handler and adding explicit dtype validation. The tail reduction suffix width bug [3] that was corrupting vector stores into reduction buffers is also closed. These three PRs unblock compiles that were either silent-wrong or crashing entirely. On the runtime side, JIT stack handling got tightened [4] by replacing the error-prone last()+drop() pattern with pop(), reducing subtle ordering bugs. Meanwhile, the CI infrastructure team is executing a major shift: all OSDC EKS clusters (staging and production) are moving from IPv4 to IPv6-only pod networking [5], a high-risk change that requires full cluster destroy/recreate since the EKS `ip_family` parameter is immutable post-creation. The migration touches the entire stack: VPC subnets, CNI prefix delegation, and every component that binds sockets or resolves DNS. Fresh cluster deploys are also getting fixed [6] with Alpine util-linux pin bumps and cross-arch Docker build support. Test infrastructure landed performance wins on the autorevert metrics page [7], parallelizing GitHub fan-out that was serializing 100-300s of latency behind ClickHouse queries, plus a new killswitch window category [8] to surface human reverts during autorevert blackouts as non-false-negatives.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [Inductor] Fix NaN output in LayerNorm CPU by guarding Welford variance. (#173989) pytorch/pytorch
  2. [2] [bugfix] [inductor] add meta registration for `div_` kernel to enforce dtype check (#183859) pytorch/pytorch
  3. [3] [inductor] Fix tail reduction suffix width (#183699) pytorch/pytorch
  4. [4] Use pop in place of last() + drop() in JIT runtime (#184063) pytorch/pytorch
  5. [5] Add IPv6-only pod networking to EKS clusters and bump runner-container-hooks to v0.8.13 ↗ pytorch/ci-infra
  6. [6] Fix cross-arch image-cache-janitor build for fresh cluster deploys (#575) pytorch/ci-infra
  7. [7] autorevert metrics: parallelize FP verification + default to 30d window (#8090) pytorch/test-infra
  8. [8] autorevert metrics: third FN category for killswitch-active windows (#8089) pytorch/test-infra

Quick answers

What shipped in PyTorch on May 18, 2026?
PyTorch's compiler pipeline landed three critical fixes overnight that prevent NaN outputs in LayerNorm, enforce dtype safety in in-place division, and repair tail reduction logic, while infrastructure teams are destroying and recreating all OSDC clusters for IPv6 migration. In total, 28 commits and 5 pull requests landed.
Who contributed to PyTorch on May 18, 2026?
1 developer shipped this update, including jeanschmidt.
What were the notable PyTorch updates?
[Inductor] Fix NaN output in LayerNorm CPU by guarding Welford variance. (#173989), [bugfix] [inductor] add meta registration for `div_` kernel to enforce dtype check (#183859), and [inductor] Fix tail reduction suffix width (#183699).

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?