$ the-wire · showcase
JAX FIXES CRITICAL SCAN TRANSPOSE BUG THAT BROKE REF ACCUMULATORS
By RepoJournal · Filed · About Google · Composed from the cited sources · methodology
A foundational bug in JAX's scan transpose logic is fixed after the code assumed accumulators would follow a neat type-sorted pattern they never actually did.
The scan transpose implementation was making a dangerous assumption about how ref accumulators would be arranged in memory [1]. The code expected them to be sorted and contiguous by type, but real-world usage scattered them arbitrarily across the accumulator space. This created silent correctness issues that the new canonicalization logic now handles properly, complete with systematic test coverage to prevent regression [1]. In parallel, JAX is restoring cumulative sum performance on GPU by re-enabling CHLO lowering after a recent disable [2]. XLA dependencies were also bumped to the latest revision to align with upstream improvements [3].
Action items
- → Pull the latest JAX commit with ref accumulator fix [ref:1] if you use scan with mutable refs google/jax [immediate]
- → Test cumulative sum operations on GPU to verify performance is back to baseline google/jax [monitor]
References