Skip to content

Commit 617301d

Browse files
fix: Add filterwarnings ignore for ml-dtypes DeprecationWarning (#2229)
* Add an ignore to filterwarnings to avoid ml_dtypes DeprecationWarning from use of jaxlib > DeprecationWarning: ml_dtypes.float8_e4m3b11 is deprecated. Use ml_dtypes.float8_e4m3b11fnuz ml_dtypes deprecated this behavior in v0.2.0 (https://github.com/jax-ml/ml_dtypes/releases/tag/v0.2.0) and jaxlib will avoid the deprecation in jaxlib v0.4.12. - c.f. jax-ml/jax#16277
1 parent 6bdc501 commit 617301d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ filterwarnings = [
214214
'ignore:Call to deprecated create function:DeprecationWarning', # protobuf via tensorflow
215215
'ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning', # numpy via tensorflow
216216
"ignore:module 'sre_constants' is deprecated:DeprecationWarning", # tensorflow v2.12.0+ for Python 3.11+
217+
"ignore:ml_dtypes.float8_e4m3b11 is deprecated.", #FIXME: Can remove when jaxlib>=0.4.12
217218
]
218219

219220
[tool.coverage.run]

0 commit comments

Comments
 (0)