We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66eec1b commit 11d3c8eCopy full SHA for 11d3c8e
src/palantir/__init__.py
@@ -19,12 +19,17 @@
19
20
import importlib.metadata
21
import warnings
22
+import logging
23
-# Filter JAX warnings about CUDA when GPU support is not available
24
+# Filter JAX warnings and errors about CUDA when GPU support is not available
25
warnings.filterwarnings("ignore", message=".*CUDA.*", module="jax.*")
26
warnings.filterwarnings("ignore", message=".*cuSPARSE.*")
27
warnings.filterwarnings("ignore", message=".*NVIDIA GPU.*")
28
29
+# Suppress JAX logging errors for CUDA plugin failures
30
+# These are harmless - JAX falls back to CPU automatically
31
+logging.getLogger("jax._src.xla_bridge").setLevel(logging.CRITICAL)
32
+
33
from . import config
34
35
# Import modules in a specific order to avoid circular imports
0 commit comments