Skip to content

Commit

Permalink
also require jaxlib
Browse files Browse the repository at this point in the history
  • Loading branch information
ar0ck authored and patrick-kidger committed Mar 8, 2024
1 parent 102e499 commit 696cc5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jaxtyping/_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def f(...): ...
if (
_tb_flag
and importlib.util.find_spec("jax") is not None
and importlib.util.find_spec("jaxlib") is not None
and importlib.util.find_spec("jax._src.traceback_util") is not None
):
import jax._src.traceback_util as traceback_util
Expand Down

0 comments on commit 696cc5b

Please sign in to comment.