You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exposing the XLA communicator through the FFI interface
#35969
This required me to go through the FFI interface and synchronise the different threads/processes on the C++ side in order to set up and orchestrate the solver. My current solution is to use shared memory to enable barriers between the threads/processes.
Ideally, I would access the XLA communicator that JAX uses directly on the C++ side. This would enable me to set up barriers between processes and would work across multiple device hosts. I eventually want to code up "JAXMp", that relies on cuSOLVERMp (more powerful, works for any number of GPUs), which would for sure require access to the XLA communicator.
Is it currently possible to access the XLA communicator somehow on the C++ side with FFI?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I wrote package called JAXMg for doing distributed linear algebra using cuSOLVERMg: https://github.com/flatironinstitute/jaxmg
that works with
jax>=0.6.1This required me to go through the FFI interface and synchronise the different threads/processes on the C++ side in order to set up and orchestrate the solver. My current solution is to use shared memory to enable barriers between the threads/processes.
Ideally, I would access the XLA communicator that JAX uses directly on the C++ side. This would enable me to set up barriers between processes and would work across multiple device hosts. I eventually want to code up "JAXMp", that relies on cuSOLVERMp (more powerful, works for any number of GPUs), which would for sure require access to the XLA communicator.
Is it currently possible to access the XLA communicator somehow on the C++ side with FFI?
All reactions