Skip to content

port rocm/jax 0.9.2 cherrypicks to amd-main branch (#740) - #741

Open
magaonka-amd wants to merge 42 commits into
ROCm:amd-mainfrom
magaonka-amd:merge/pr740-to-amd-main
Open

magaonka-amd wants to merge 42 commits into
ROCm:amd-mainfrom
magaonka-amd:merge/pr740-to-amd-main

Conversation

@magaonka-amd

Copy link
Copy Markdown

cherry-picking this, but changes are not merged to upstream yet.
Add ROCm lowering for ScaledMatmul/ScaledDot (jax-ml#35995)

charleshofer and others added 30 commits March 20, 2026 12:51
…tignore (ROCm#563)

When jaxlib was built in debug more, an assertion in LLVM code that lazy-loads VHLO dialect could fire, since the code path could execute in a multi-threaded environment, and LLVM dialect repositories aren't thread safe to modify.

This patch applies the same changes that upstream makes to fix this: jax-ml@48c8762

(this includes disabling a call to `jax_mlir_ext.enter_multi_threaded_execution(context)` in `mlir.py`. Presumably, the whole functionality related to `enter_multi_threaded_execution()` multithreaded checks isn't ready yet, and it was prematurely rolled into the production code.

Manual testing
(forgot this skip in the previous PR)
Co-authored-by: Daniel Suo <danielsuo@gmail.com>
Co-authored-by: Jake VanderPlas <jakevdp@google.com>
@mminutoli
mminutoli force-pushed the amd-main branch 3 times, most recently from 3f9e8b4 to f25f2b4 Compare June 27, 2026 01:32
@magaonka-amd
magaonka-amd force-pushed the amd-main branch 3 times, most recently from acfa9f3 to 7643edc Compare August 10, 2026 00:17
@magaonka-amd
magaonka-amd force-pushed the amd-main branch 10 times, most recently from 2d7351c to 3aec073 Compare August 17, 2026 22:49
@magaonka-amd
magaonka-amd force-pushed the amd-main branch 2 times, most recently from 79d884e to ed8289a Compare August 20, 2026 18:51
@magaonka-amd
magaonka-amd force-pushed the amd-main branch 5 times, most recently from 360638e to e156ed6 Compare September 2, 2026 21:33
@magaonka-amd
magaonka-amd force-pushed the amd-main branch 3 times, most recently from 564a88e to a53a18e Compare September 13, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants