Skip to content

Commit

Permalink
Update config import
Browse files Browse the repository at this point in the history
The latest version of jax updated the location of the config object:
https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-25-feb-26-2024

Should work with older versions, has been deprecated a while.

h/t @alexfikl via inducer/arraycontext#252
  • Loading branch information
inducer committed Mar 1, 2024
1 parent 3bdad69 commit c584817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import pytato as pt

pytest.importorskip("jax")
from jax.config import config
from jax import config
config.update("jax_enable_x64", True)


Expand Down

0 comments on commit c584817

Please sign in to comment.