From 7259d60ba6f43935601149b145b98488e265f004 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 19 Jun 2024 23:27:58 -0500 Subject: [PATCH] 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. https://github.com/google/jax/pull/21923 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 52ae121b8f..cc39287ab3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -227,6 +227,7 @@ filterwarnings = [ "ignore:jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the:DeprecationWarning", # Issue #2139 "ignore:Skipping device Apple Paravirtual device that does not support Metal 2.0:UserWarning", # Can't fix given hardware/virtualized device 'ignore:Type google._upb._message.[A-Z]+ uses PyType_Spec with a metaclass that has custom:DeprecationWarning', # protobuf via tensorflow + "ignore:jax.xla_computation is deprecated. Please use the AOT APIs:DeprecationWarning", # jax v0.4.30 ] [tool.coverage.run]