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-07-06
stories 39

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

TORCH.COMPILE GETS CUDA SYNC FIX, DYNAMO TIGHTENS TYPE CHECKING

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

1 person shipped this

PyTorch eliminated a silent performance killer in torch.combinations that was blocking torch.compile optimization, while Dynamo fixes a type-checking bug that crashed on frozensets.

The torch.combinations CUDA sync removal [1] replaces data-dependent masked_select with static nonzero computation, unlocking compile support and delivering major speedups on both CPU and GPU with large inputs. In parallel, Dynamo's SetVariable.call_obj_hasattr now reports the concrete set type [4] instead of the generic set type, fixing a crash when hasattr checks run on frozensets during guard evaluation. The functorch minifier now preserves device indices in serialized repro inputs [2], preventing FakeTensor failures when inputs land on the wrong CUDA device. AOTAutograd's partitioner received a SymInt binding fix [3] that correctly observes raw placeholder expressions instead of ShapeEnv replacements, ensuring backward graph symbols bind correctly. On the backend side, ExecuTorch's Qualcomm AI Engine Direct now validates 2-bit per-tensor quantization with proper boundary checks [5], and FBGEMM's group_index_select_2d benchmark excludes warm-up iterations from traces to report accurate per-kernel timing [6].

Action items

References

  1. [1] Remove CUDA sync in `torch.combinations` to improve `torch.compile` support (#186595) pytorch/pytorch ↗
  2. [2] Preserve device index in functorch minifier repro inputs (#186547) pytorch/pytorch ↗
  3. [3] Fix partitioner SymInt bindings for backward (#185473) pytorch/pytorch ↗
  4. [4] [dynamo] Report concrete set type in SetVariable.call_obj_hasattr (#188908) pytorch/pytorch ↗
  5. [5] Qualcomm AI Engine Direct - raise ValueError for 2-bit per-tensor enc… ↗ pytorch/executorch
  6. [6] Exclude warm-ups from group_index_select_2d trace; raise to 50 (#5978) ↗ pytorch/FBGEMM

Quick answers

What shipped in PyTorch on July 6, 2026?
PyTorch eliminated a silent performance killer in torch.combinations that was blocking torch.compile optimization, while Dynamo fixes a type-checking bug that crashed on frozensets. In total, 38 commits and 1 pull requests landed.
Who contributed to PyTorch on July 6, 2026?
1 developer shipped this update, including jethroqti.
What were the notable PyTorch updates?
Remove CUDA sync in `torch.combinations` to improve `torch.compile` support (#186595), Preserve device index in functorch minifier repro inputs (#186547), and Fix partitioner SymInt bindings for backward (#185473).