-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Interop with Numba / JAX? #1268
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
Comments
Adding JAX, as that seems like a potential successor / partner to Numba: https://github.com/google/jax |
Hi Eric, I'm interested in the inter-operation between pybind11 module and python based callback which is jitted by Numba/JAX. |
Howdy Andy, that's awesome! I won't be able to focus too deeply on this front atm, but can I ask if it's something you'd be willing to prototype and if there's anything I could help point you towards (if you need any resources)? |
This is very far left field, but it'd be interesting if there were a way for
pybind11
andnumba
to interoperate.One scenario might be if a
pybind
signature overload could be detected during@numba.jit
, and ifnumba
could detectpybind
types, get the underlying C[++] data, and strip out marshaling normally done bypybind
, and reduce the overhead when calling C++ code from Python in loops (related: #1227).The text was updated successfully, but these errors were encountered: