-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
P3Highest Priority, someone is/should be actively working on thisHighest Priority, someone is/should be actively working on thisquestionFurther information is requestedFurther information is requested
Description
PC, NVIDIA GeForce RTX 4060 Laptop GPU, wsl
When I run
from desc import set_device
set_device('gpu')
from desc.backend import print_backend_info
print_backend_info()
It returns
DESC version=0+unknown.
Using JAX backend: jax version=0.6.2, jaxlib version=0.6.2, dtype=float64.
Using device: NVIDIA GeForce RTX 4060 Laptop GPU (id=0), with 7.01 GB available memory.
But when I run
import desc.io
returns
ERROR:2025-10-29 22:18:42,187:jax._src.xla_bridge:444: Jax plugin configuration error: Exception when calling jax_plugins.xla_cuda12.initialize()
Traceback (most recent call last):
File "/home/xiao/miniconda3/envs/desc/lib/python3.12/site-packages/jax/_src/xla_bridge.py", line 442, in discover_pjrt_plugins
plugin_module.initialize()
File "/home/xiao/miniconda3/envs/desc/lib/python3.12/site-packages/jax_plugins/xla_cuda12/__init__.py", line 324, in initialize
_check_cuda_versions(raise_on_first_error=True)
File "/home/xiao/miniconda3/envs/desc/lib/python3.12/site-packages/jax_plugins/xla_cuda12/__init__.py", line 281, in _check_cuda_versions
local_device_count = cuda_versions.cuda_device_count()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: jaxlib/cuda/versions_helpers.cc:113: operation cuInit(0) failed: CUDA_ERROR_NO_DEVICE
I just created a virtual environment Python=3.12 in WSL and followed the installation tutorial in the manual
Metadata
Metadata
Assignees
Labels
P3Highest Priority, someone is/should be actively working on thisHighest Priority, someone is/should be actively working on thisquestionFurther information is requestedFurther information is requested