iree icon indicating copy to clipboard operation
iree copied to clipboard

Determine how to support JAX's callback system

Open rsuderman opened this issue 2 years ago • 3 comments

JAX supports registering callbacks that can be triggered via the backend environment. This may require implementation via the mhlo.custom_call system or an alternative integration method via the PJRT events system.

rsuderman avatar Feb 27 '23 23:02 rsuderman

Or via something like https://github.com/openxla/iree/tree/main/samples/py_custom_module if this is callback to Python.

jpienaar avatar Feb 28 '23 16:02 jpienaar

Is it this:https://jax.readthedocs.io/en/latest/jax.experimental.host_callback.html ?

vmurali avatar Mar 22 '23 00:03 vmurali

Can this issue be closed

vmurali avatar May 14 '24 03:05 vmurali