-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The API version of PJRT plugin is lower than jax>0.4.20
#19223
Labels
Comments
PragmaTwice
changed the title
The API version of PJRT plugin is relatively low and cannot work in JAX
The API version of PJRT plugin is lower than JAX
Nov 20, 2024
PragmaTwice
changed the title
The API version of PJRT plugin is lower than JAX
The API version of PJRT plugin is lower than latest JAX
Nov 20, 2024
PragmaTwice
changed the title
The API version of PJRT plugin is lower than latest JAX
The API version of PJRT plugin is lower than Nov 20, 2024
jax>0.4.20
I'll work on it soon : ) |
This was referenced Nov 21, 2024
ScottTodd
pushed a commit
that referenced
this issue
Nov 25, 2024
It closes #19223. `integrations/pjrt/third_party/pjrt_c_api/xla/pjrt/c/pjrt_c_api.h` is updated to the latest (with API version from 0.38 to 0.57), fetching from https://github.com/openxla/xla/blob/a454e14ab0b10e35fb8ad73bd6db7d93782114f6/xla/pjrt/c/pjrt_c_api.h. A blank implementation of `PJRT_Plugin_Attributes` is now provided since an unimplemented `PJRT_Plugin_Attributes` will lead to initialization failure of PJRT plugin (and thus crashes) in recent versions of PJRT clients. Also the JAX version in the CI workflow is updated from 0.4.20 to 0.4.35 and subsequently more tests can be enabled. ci-exactly: build_packages, test_pjrt --------- Signed-off-by: PragmaTwice <twice@apache.org>
Groverkss
pushed a commit
to Groverkss/iree
that referenced
this issue
Dec 1, 2024
It closes iree-org#19223. `integrations/pjrt/third_party/pjrt_c_api/xla/pjrt/c/pjrt_c_api.h` is updated to the latest (with API version from 0.38 to 0.57), fetching from https://github.com/openxla/xla/blob/a454e14ab0b10e35fb8ad73bd6db7d93782114f6/xla/pjrt/c/pjrt_c_api.h. A blank implementation of `PJRT_Plugin_Attributes` is now provided since an unimplemented `PJRT_Plugin_Attributes` will lead to initialization failure of PJRT plugin (and thus crashes) in recent versions of PJRT clients. Also the JAX version in the CI workflow is updated from 0.4.20 to 0.4.35 and subsequently more tests can be enabled. ci-exactly: build_packages, test_pjrt --------- Signed-off-by: PragmaTwice <twice@apache.org>
giacs-epic
pushed a commit
to giacs-epic/iree
that referenced
this issue
Dec 4, 2024
It closes iree-org#19223. `integrations/pjrt/third_party/pjrt_c_api/xla/pjrt/c/pjrt_c_api.h` is updated to the latest (with API version from 0.38 to 0.57), fetching from https://github.com/openxla/xla/blob/a454e14ab0b10e35fb8ad73bd6db7d93782114f6/xla/pjrt/c/pjrt_c_api.h. A blank implementation of `PJRT_Plugin_Attributes` is now provided since an unimplemented `PJRT_Plugin_Attributes` will lead to initialization failure of PJRT plugin (and thus crashes) in recent versions of PJRT clients. Also the JAX version in the CI workflow is updated from 0.4.20 to 0.4.35 and subsequently more tests can be enabled. ci-exactly: build_packages, test_pjrt --------- Signed-off-by: PragmaTwice <twice@apache.org> Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
0.38
, but in the latest version of JAX it's around0.5x
.PJRT_Plugin_Attributes
are not supported in IREE PJRT plugin which can lead to crashes in latest version of JAX:I tried lots of JAX versions, and found that:
jax==0.4.20
(and maybe some versions lower than that)jax>0.4.20
(from0.4.20
to the latest0.4.35
), which can be split to two cases:Steps to reproduce your issue
follows the README of PJRT plugin:
iree_cpu
backendWhat component(s) does this issue relate to?
Other
Version information
the latest commit in main branch
Additional context
No response
The text was updated successfully, but these errors were encountered: