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

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

By RepoJournal · Filed · About PyTorch

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].

One email a day. Unsubscribe in one click.

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).

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.