Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pathwaysutils/jax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __call__(self, *args, **kwargs):


try:
# jax>=0.8.3
# jax>=0.8.0
# The import may fail if the JAX version is not new enough.
from jaxlib import _pathways as jaxlib_pathways # pylint: disable=g-import-not-at-top

Expand All @@ -86,10 +86,10 @@ def __call__(self, *args, **kwargs):
del jaxlib_pathways

except ImportError:
# jax<0.8.3
# jax<0.8.0
transfer_to_shardings = _FakeJaxFunction(
"jax.jaxlib._pathways._transfer_to_shardings",
"0.8.3",
"0.8.0",
)


Expand Down
Loading