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

Add JAX backend #206

Merged
merged 24 commits into from
Jan 2, 2023
Merged

Add JAX backend #206

merged 24 commits into from
Jan 2, 2023

Conversation

nkoep
Copy link
Member

@nkoep nkoep commented Jul 1, 2022

This PR adds a provisional JAX backend. The PR supersedes #115 due to changes in the backend API which made it easier to re-implement the backend code. Unlike #115, the new implementation uses forward-over-reverse mode autodiff to implement Hessian operators instead of reverse-over-reverse mode similar to the autograd backend.

nkoep added 5 commits July 1, 2022 16:53
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
@nkoep nkoep added the 2.2.0 label Jul 1, 2022
@nkoep nkoep mentioned this pull request Jul 1, 2022
nkoep added 19 commits July 1, 2022 18:55
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
@nkoep nkoep merged commit 88615c6 into pymanopt:master Jan 2, 2023
@dherrera1911
Copy link

Should we still use the @jax.jit function to compile the code if we are using pymanopt with the JAX backend?

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

Successfully merging this pull request may close these issues.

2 participants