# trunk/620cac79649a8e9aedb624229e1dfe54e180ced5: [MPS] Prescale Jacobi SVD by the largest entry (#200776)

> **Key Architectural Takeaway:** svd_jacobi forms the Gram terms as fp32 sums of squares and multiplies them, which underflows for entries below 1e-9 and overflows above 1e9.

**Published:** 2026-10-15T00:26:45+00:00 
**Source:** PyTorch GitHub Releases 
**Category:** bigtech-foss 
**Canonical URL:** https://fosswire.org/news/trunk620cac79649a8e9aedb624229e1dfe54e180ced5-mps-prescale-j.html 

## Executive Summary
svd_jacobi forms the Gram terms as fp32 sums of squares and multiplies them, which underflows for entries below 1e-9 and overflows above 1e9. Since this was added by #195950 I'm attaching milestone for 2.15. This PR prescales it by a power of two, similar to what LAPACK does ( https://github.com/Reference-LAPACK/lapack/blob/v3.12.1/SRC/sgesdd.f#L597-L610 ). import torch A = torch .

## Architectural & Systems Analysis
From an infrastructure engineering, cloud-native scale, and hyperscale governance standpoint:

- **Hyperscale Provenance:** Open-sourcing internal frameworks subjects proprietary systems to rigorous public analysis.
- **De-facto Standard Cohesion:** Publishing enterprise tooling establishes interoperable specifications across distributed execution.
- **Vendor Decoupling:** Platform engineers can inspect underlying telemetry and memory layouts without black-box vendor lock-in.

## Impact on the Open Ecosystem
Bridges enterprise engineering scale with independent, reproducible open-source software stacks.