Skip to content

Fix solver implementations #135

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

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Fix solver implementations #135

merged 1 commit into from
Oct 19, 2022

Conversation

pnkraemer
Copy link
Owner

Currently, most of the solvers do not work as expected. For example, only the KroneckerEK0 from the readme solves the ODE successfully, the others fail with a linear-algebra error. The reason is that the jax.scipy.linalg.qr(..., mode="r") output type has changed: it always returns a tuple of matrices.

See: jax-ml/jax#10452

While at it, I also changed the jax+jaxlib requirement to a jax[cpu] requirement and ran pre-commit autoupdate.

Copy link
Collaborator

@nathanaelbosch nathanaelbosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking this up!

@pnkraemer pnkraemer merged commit 27b88d3 into main Oct 19, 2022
@pnkraemer pnkraemer deleted the fix-scipy-linalg branch October 19, 2022 05:13
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

Successfully merging this pull request may close these issues.

2 participants