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

DYNAMO FIXES GRAPH-BREAKING SDPA PARAMS, PAT SVD LEAK BREAKS DOWNSTREAM TESTS

By RepoJournal · Filed · About PyTorch

PyTorch shipped fixes for two critical compilation and module patching bugs overnight that were silently breaking downstream workflows.

Dynamo can now construct SDPAParams inside compiled regions without graph-breaking under fullgraph=True [1], routing the pybind11 class through TorchInGraphFunctionVariable following the torch.nn.Parameter pattern. The same Dynamo reland [3] restores getattr_static for internal attribute probing after it was reverted for inflating frame counts, but the fix is back in and the frame-count assertions pass. On the CUDA front, _scaled_mm with float8 output was silently dropping the scale_result parameter [5], causing identical bitwise outputs for different scales. Over in pytorch/ao, insert_svd_modules_ was mutating the shared nn.Linear class directly, leaving AttributeError traps in weight access across unrelated modules [6], breaking torch.compile tests in int4/int8/float8 workflows after any pat SVD test ran. The fix patches a private per-instance subclass instead. Meanwhile, c10d's TorchComms integration no longer requires users to mutate c10d internals before calling init_process_group [2], and out-of-range float conversions in tensor creation tests are now restricted to valid ranges [4].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [Dynamo] Support SDPAParams construction in fullgraph (#190839) pytorch/pytorch
  2. [2] [c10d][torchcomms] Add MCCL backend wrapper example (#190292) (#191034) pytorch/pytorch
  3. [3] [Dynamo] Reland: Use getattr_static when probing internal attributes (#190970) pytorch/pytorch
  4. [4] [caffe2] Avoid out-of-range float->integral conversions (UB) in test_tensor_creation_ops (#191025) (#191025) pytorch/pytorch
  5. [5] [CUDA] Restore scale_result for float8 _scaled_mm output (#190979) pytorch/pytorch
  6. [6] [pat] Fix SVD class leakage into `nn.Linear` from #4587 (#4613) pytorch/ao

Quick answers

What shipped in PyTorch on July 26, 2026?
PyTorch shipped fixes for two critical compilation and module patching bugs overnight that were silently breaking downstream workflows. In total, 17 commits and 2 pull requests landed.
Who contributed to PyTorch on July 26, 2026?
5 developers shipped this update, including Guan-Ming (Wesley) Chiu, Denis Boyda, Jim Meyering, drisspg, and Lisa Jin.
What were the notable PyTorch updates?
[Dynamo] Support SDPAParams construction in fullgraph (#190839), [c10d][torchcomms] Add MCCL backend wrapper example (#190292) (#191034), and [Dynamo] Reland: Use getattr_static when probing internal attributes (#190970).

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?