Skip to content
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

Interop with Numba / JAX? #1268

Open
EricCousineau-TRI opened this issue Feb 3, 2018 · 3 comments
Open

Interop with Numba / JAX? #1268

EricCousineau-TRI opened this issue Feb 3, 2018 · 3 comments

Comments

@EricCousineau-TRI
Copy link
Collaborator

This is very far left field, but it'd be interesting if there were a way for pybind11 and numba to interoperate.

One scenario might be if a pybind signature overload could be detected during @numba.jit, and if numba could detect pybind types, get the underlying C[++] data, and strip out marshaling normally done by pybind, and reduce the overhead when calling C++ code from Python in loops (related: #1227).

@EricCousineau-TRI
Copy link
Collaborator Author

Adding JAX, as that seems like a potential successor / partner to Numba: https://github.com/google/jax

@EricCousineau-TRI EricCousineau-TRI changed the title Interop with Numba? Interop with Numba / JAX? Dec 29, 2020
@CFAndy
Copy link

CFAndy commented Jan 15, 2023

Hi Eric, I'm interested in the inter-operation between pybind11 module and python based callback which is jitted by Numba/JAX.

@EricCousineau-TRI
Copy link
Collaborator Author

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants