Skip to content

Commit

Permalink
jax: update config import
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Mar 1, 2024
1 parent e53fa90 commit 691da70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arraycontext/pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def is_available(cls) -> bool:
return False

def __call__(self):
from jax.config import config
from jax import config

from arraycontext import EagerJAXArrayContext
config.update("jax_enable_x64", True)
Expand All @@ -214,7 +214,7 @@ def is_available(cls) -> bool:
return False

def __call__(self):
from jax.config import config
from jax import config

from arraycontext import PytatoJAXArrayContext
config.update("jax_enable_x64", True)
Expand Down

0 comments on commit 691da70

Please sign in to comment.