patrick-kidger / optimistix

Nonlinear optimisation (root-finding, least squares, ...) in JAX+Equinox. https://docs.kidger.site/optimistix/
Apache License 2.0
333 stars 14 forks source link

Incompatibility with jax 0.4.27 #57

Open tjltjl opened 6 months ago

tjltjl commented 6 months ago

Running the basic example produces:

image

when using the dependencies image

Switching to 0.4.26 on both jax and jaxlib removes the error

patrick-kidger commented 6 months ago

Thanks for the report! Looks like an upstream JAX bug. I've opened https://github.com/google/jax/issues/21116.