RepoJournal
Google

Google

JAX, the GenAI SDK, and the Cloud libs - Google's open source layer

Keep up with Google 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: AI / ML Python Full archive →

The Wire · Showcase

JAX FIXES CRITICAL SHARD_MAP GRADIENT BUG AFTER PARTIAL ROLLBACK

By RepoJournal · Filed · About Google

JAX reverted a commit that introduced incorrect gradient computation in distributed operations, then shipped the proper fix with safeguards.

The team rolled back ac12cbaa1f [1] after discovering it was inserting unnecessary collective operations during backward passes in shard_map. The root cause: wrong pspec calculations when check_vma=False [2]. Engineers have now landed the corrected version [3] that properly uses the cotangent spec to determine which mesh axes need synchronization. New test coverage [4] ensures unreduced forward inputs trigger correct psum insertion on the backward pass. This fixes a class of silent correctness bugs in distributed training where gradients would compute but with unnecessary communication overhead.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Reverts ac12cbaa1f877ef38a128000b8c561f136fc7f01 ↗ google/jax
  2. [2] Use the cotangent spec when calculating which mesh axes to do psum over if check_vma=False in shard_map transpose. google/jax
  3. [3] Use the cotangent spec when calculating which mesh axes to do psum over if check_vma=False in shard_map transpose. ↗ google/jax
  4. [4] Add a test to make sure that if input is unreduced on fwd (with check_vma=False on shard_map), shard_map inserts a psum on bwd similar to invarying. ↗ google/jax

Quick answers

What shipped in Google on May 25, 2026?
JAX reverted a commit that introduced incorrect gradient computation in distributed operations, then shipped the proper fix with safeguards. In total, 4 commits and 3 pull requests landed.
Who contributed to Google on May 25, 2026?
1 developer shipped this update, including copybara-service[bot].
What were the notable Google updates?
Reverts ac12cbaa1f877ef38a128000b8c561f136fc7f01, Use the cotangent spec when calculating which mesh axes to do psum over if check_vma=False in shard_map transpose, and Use the cotangent spec when calculating which mesh axes to do psum over if check_vma=False in shard_map transpose.

More from Google

Daily updates, in your inbox

Follow Google

Keep up with Google 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?