Heap simulator assertion failure when scaling up JAX matmul sizes #29103
Unanswered
seokw-Ryan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m experimenting with XLA’s heap simulator (via JAX) to characterize its memory‐allocation behavior as I increase matrix sizes for a simple mat-mul. At a certain point it crashes with:
Estimated size of each array: 400000000000000 bytes, 381469726.56 MB, 372529.03 GB
2025-05-30… E external/xla/xla/service/heap_simulator/heap_simulator.cc:2115] We did not find a place for our sliced allocation. This should not happen because MSA operates on an infinitely sized heap.
… F external/xla/xla/service/heap_simulator/heap_simulator.cc:2371] Check failed: chunks.size() == 1 (1 vs. 0)
Aborted (core dumped)
What I’m trying to do:
Questions for the community:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions