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

import cosmoprimo kills jax on macbook #8

Open
pmcdonal opened this issue Nov 16, 2023 · 0 comments
Open

import cosmoprimo kills jax on macbook #8

pmcdonal opened this issue Nov 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pmcdonal
Copy link
Member

This enable x64 corrupts JAX on my laptop
https://github.com/cosmodesi/cosmoprimo/blob/f3698636242fe54587fe3a607f4b14acb8efc9ac/cosmoprimo/fftlog.py#L19C35-L19C35
This is surely the fault of the flaky JAX on my laptop, but it seems you could turn it off without affecting others by wrapping in something like
if jax.default_backend() != "METAL" :

... and cosmoprimo still works at least in some cases... not sure where expected to cause problems...

@pmcdonal pmcdonal added the bug Something isn't working label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant