Skip to content

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
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@Chulabhaya
Comment options

@Chulabhaya
Comment options

@akuegel
Comment options

@jreiffers
Comment options

Answer selected by Chulabhaya
@Chulabhaya
Comment options

@akuegel
Comment options

@Chulabhaya
Comment options

@akuegel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants