What happened to the XPU backend? #24483
Answered
by
hawkinsp
dionhaefner
asked this question in
Q&A
-
In mpi4jax, we noticed that it's not possible to register XPU extensions anymore. Was that backend cut from JAX?
|
Beta Was this translation helpful? Give feedback.
Answered by
hawkinsp
Oct 23, 2024
Replies: 1 comment 1 reply
-
We've never had an in-tree XPU backend. We added checking code that means you can't register lowering rules for backends we've never heard of. If you have the XPU plugin installed, then we should allow such rules to be registered. You could also add Line 206 in 6235158 The goal of the check is mostly to catch typos, not to forbid new backends. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dionhaefner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've never had an in-tree XPU backend.
We added checking code that means you can't register lowering rules for backends we've never heard of. If you have the XPU plugin installed, then we should allow such rules to be registered. You could also add
xpu
herejax/jax/_src/xla_bridge.py
Line 206 in 6235158
The goal of the check is mostly to catch typos, not to forbid new backends.