Receiving "Check failed: LayoutUtil::IsMonotonicWithDim0Major" error after upgrading from 0.4.29 to >=0.4.30 #23859
Answered
by
jreiffers
Chulabhaya
asked this question in
Q&A
-
Hi there! My code that was functioning at Jax versions <=0.4.29 is now failing after upgrading to any version beyond 0.4.30. In particular, my code now crashes after a short period with the following:
Would anyone happen to know what would cause this error when upgrading from 0.4.29 to a newer version of Jax? |
Beta Was this translation helpful? Give feedback.
Answered by
jreiffers
Sep 24, 2024
Replies: 1 comment 12 replies
-
What was your code? Do you have a minimal repro? Is this on CPU/GPU/TPU/something else? Maybe try with jax 0.4.33? |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This crash is in legacy emitters, which is strange, since they should be disabled by default now. Do you set any special XLA_FLAGS? Can you try setting
--xla_gpu_mlir_emitter_level=4
? But normally, this should be the default with recent versions of JAX, and the code from your stack trace shouldn't be used. Just to confirm: you are using an Nvidia GPU, right? Judging from your installed plugins that should be the case, but just to double check.See https://jax.readthedocs.io/en/latest/xla_flags.html#configuring-xla-in-jax for instructions on how to configure XLA_FLAGS.