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

JAX Numpy Slowdown #16

Open
keatincf opened this issue Oct 25, 2024 · 0 comments
Open

JAX Numpy Slowdown #16

keatincf opened this issue Oct 25, 2024 · 0 comments

Comments

@keatincf
Copy link
Collaborator

JAX numpy seems to be slower than numpy unless you also utilize JIT or offload to an accelerator. When JAX is in use, the code base will convert a numpy array to a JAX numpy array prior to calling a JIT function, but doesn't convert the array back once the JIT function returns. An investigation should be done to see if a conversion back introduces a speed improvement over the current process.

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

1 participant