Status of PjRt plugins #19459
Replies: 4 comments 2 replies
-
The code you linked has been kept reasonably current, but it hasn't been put under much load for some time. @PragmaTwice has been sending patches to update the code, CI workflows, and documentation recently.
Baseline support for those configurations shouldn't be too much work, but you may encounter some feature gaps off of the golden path (things like multi-device / sharding / tensor parallelism, support for uncommon operators, etc.).
I'm not sure about the shared library story for PJRT in general and IREE's implementation of the API. You might also be interested in
|
Beta Was this translation helpful? Give feedback.
-
OK thanks. Multi-device is ideally what I'm after, but I'm interested without it too. My workflow has no access to JAX - I'm actually building something that plays the same role as JAX. I've been using the shared lib PJRT plugins provided by the XLA, and am looking at what IREE has to offer in that way. |
Beta Was this translation helpful? Give feedback.
-
Speaking up as one of the original authors, this part of the project is currently "legit open source" -- ie. As a colleague of mine used to say: if it breaks, you own both pieces :) My team at AMD, which maintains a lot of the project generally tries to help answer questions and help on this stuff, but afaik no one is currently paid to keep the pjrt plugins running. With that said, I originally wrote it to be used and am not aware of any intrinsic reason why it shouldn't work. The contributions from folks like @PragmaTwice are appreciated, and we're happy to answer any questions, etc. And it's the kind of thing we may have more need to staff in the future. The maintenance/uplift work is appreciated even if the main support we can provide is moral. |
Beta Was this translation helpful? Give feedback.
-
Hey @PragmaTwice, I just got your full handle. You've been showing up in my feed as just "Twice" for a while and I just realized your full handle is a play on "#pragma once". Well done and nice handle :) |
Beta Was this translation helpful? Give feedback.
-
Hi, what's the current status of PjRt plugin support with IREE? I looked at the pjrt directory but the README needs some level of updating.
I'm interested primarily in support for darwin ARM64 with Metal, and Linux AMD64 with CUDA
If there are instructions for building shared libraries for these PjRt plugins that would be even better.
Note I'm not using Python - I'm effectively using C
Beta Was this translation helpful? Give feedback.
All reactions