Skip to content

Commit 0bad246

Browse files
hawkinspGoogle-ML-Automation
authored andcommitted
Bump the runtime ml_dtypes version check to >= 0.5 to match the pypi package requirements.
PiperOrigin-RevId: 800057260
1 parent 5896474 commit 0bad246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jax/_src/dtypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
except:
4545
pass
4646
else:
47-
if _ml_dtypes_version < (0, 2, 0):
48-
raise ValueError("JAX requires ml_dtypes version 0.2.0 or newer; "
47+
if _ml_dtypes_version < (0, 5):
48+
raise ValueError("JAX requires ml_dtypes version 0.5 or newer; "
4949
f"installed version is {ml_dtypes.__version__}.")
5050

5151
export = set_module('jax.dtypes')

0 commit comments

Comments
 (0)