Skip to content

Commit 23a1c1c

Browse files
Ignore JAX os.fork() warning
1 parent 16ce329 commit 23a1c1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ filterwarnings =[
1414

1515
# bool8, find_common_type, cumproduct, and product had deprecation warnings added in numpy 1.25
1616
'ignore:.*(\b(pkg_resources\.declare_namespace|np\.bool8|np\.find_common_type|cumproduct|product)\b).*:DeprecationWarning',
17+
18+
# JAX issues an over-eager warning if os.fork() is called when the JAX module is loaded, even if JAX isn't being used
19+
"ignore::RuntimeWarning:jax._src.xla_bridge",
1720
]
1821

1922
[tool.black]

0 commit comments

Comments
 (0)