Skip to content

Commit 7259d60

Browse files
fix: Add filterwarnings for jax.xla_computation DeprecationWarning (#2523)
* Add an ignore to filterwarnings to avoid a DeprecationWarning on jax.xla_computation in jax v0.4.30+. > DeprecationWarning: jax.xla_computation is deprecated. > Please use the AOT APIs. - c.f. jax-ml/jax#21923
1 parent 2e4b930 commit 7259d60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ filterwarnings = [
227227
"ignore:jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the:DeprecationWarning", # Issue #2139
228228
"ignore:Skipping device Apple Paravirtual device that does not support Metal 2.0:UserWarning", # Can't fix given hardware/virtualized device
229229
'ignore:Type google._upb._message.[A-Z]+ uses PyType_Spec with a metaclass that has custom:DeprecationWarning', # protobuf via tensorflow
230+
"ignore:jax.xla_computation is deprecated. Please use the AOT APIs:DeprecationWarning", # jax v0.4.30
230231
]
231232

232233
[tool.coverage.run]

0 commit comments

Comments
 (0)