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

PYTORCH FIXES CRYPTIC LINALG ERROR, ACCELERATES EXECUTORCH BACKENDS

By RepoJournal · Filed · About PyTorch

PyTorch shipped a fix for a misleading error in torch.linalg.cond that now properly rejects complex-valued norm orders [ref:1], while ExecutorTorch's Arm backend gained TOSA dialect support and optimized lowering passes to cut graph rebuild overhead [ref:6] [ref:7].

The linalg fix [1] replaces a confusing overflow error with a clear message when developers pass complex values to cond's order parameter, fixing a long-standing issue where the actual problem was buried under type conversion noise. Separately, ExecutorTorch shipped three consecutive wins: TOSA unary elementwise operators [3] expand the Arm dialect coverage, smart pass-skipping [4] prevents rebuilding graphs when no relevant nodes exist (cutting placeholder, rank, and decomposition pass overhead), and MLPerfTiny profiling tests [5] validate real-world model performance. The PyTorch build pipeline also tightened: macOS wheel builds now follow the same Python pipeline structure as Linux and Windows [2], unifying CD across all platforms, while test-infra added ClickHouse alerting for nightly binary failures [9] [10]. Helion's autotuner entered stage 2, composing matmul facts with reduction epilogues [6] and specializing backward kernel block sizes via occupancy tracking [7], after stage 1 tightened the reduction seed heuristic [8].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix misleading error for complex order in torch.linalg.cond (#188591) pytorch/pytorch
  2. [2] [CD] Refactor macOS wheel build scripts as a Python pipeline (#187944) pytorch/pytorch
  3. [3] Arm backend: Add TOSA dialect unary elementwise node visitors ↗ pytorch/executorch
  4. [4] Arm backend: Skip irrelevant lowering passes ↗ pytorch/executorch
  5. [5] [EIEX-947] Add profiling tests for MLPerfTiny models ↗ pytorch/executorch
  6. [6] [autotuner] composed-fact seed for fused matmul + reduction-epilogue ↗ pytorch/helion
  7. [7] [autotuner] specialize the M-reduction seeds via per_feature_accumulator (occupancy + byte-cap) ↗ pytorch/helion
  8. [8] [autotuner] reduction seed: budgeted r_block + liveness-aware persistent/looped decision ↗ pytorch/helion
  9. [9] Add ClickHouse query for nightly binary pipeline failure alert (#8231) pytorch/test-infra
  10. [10] Add ClickHouse query for nightly binary pipeline failure alert ↗ pytorch/test-infra

Quick answers

What shipped in PyTorch on July 2, 2026?
PyTorch shipped a fix for a misleading error in torch.linalg.cond that now properly rejects complex-valued norm orders [ref:1], while ExecutorTorch's Arm backend gained TOSA dialect support and optimized lowering passes to cut graph rebuild overhead [ref:6] [ref:7]. In total, 83 commits and 34 pull requests landed.
Who contributed to PyTorch on July 2, 2026?
5 developers shipped this update, including SaoirseARM, Sebastian-Larsson, irtrukhina, calebmkim, and atalman.
What were the notable PyTorch updates?
Fix misleading error for complex order in torch.linalg.cond (#188591), [CD] Refactor macOS wheel build scripts as a Python pipeline (#187944), and Arm backend: Add TOSA dialect unary elementwise node visitors.

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.