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

Support for differentiable arbitrary linear operators? #120

Open
mreineck opened this issue Dec 30, 2023 · 0 comments
Open

Support for differentiable arbitrary linear operators? #120

mreineck opened this issue Dec 30, 2023 · 0 comments

Comments

@mreineck
Copy link

I'm not sure if this proposal would be a good fit for jax_cosmo; please feel free to close the issue if it isn't!

Recently, during my work on the ducc0 package (https://gitlab.mpcdf.mpg.de/mtr/ducc or https://github.com/mreineck/ducc) I found a way to "JAX-enable" any linear operator, even if it is partially implemented in a way that JAX cannot trace (e.g. as a custom C++ function). Using this, it's possible to add JAX support for spherical harmonic transforms, non-uniform FFTs and similar operations that might be of interest for differential cosmology. The execution times will only be marginally slower than calling the code directly.

Would there be interest to use this functionality from jax-cosmo? If so, please get in touch so we can iterate on the best possible interface and other technicalities!

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