JAX and CUDA compatibility when installing JAX into WSL2 #21435
-
Hi all, I'm installing jax.0.4.28 into Windows Linux Subsystem 2 (WSL2). I understand the support for WSL2 is experimental, but I want to share some experiences to hopefully get some remedies. After installing jax via the commad as in the installation document
I test running JAX and got the following error This error disappears after a trick (#18027)
I don't know why the error disappeared because by running Does anyone know what is going on? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For record, I just needed to install the latest version of NVIDIA driver (https://docs.nvidia.com/cuda/wsl-user-guide/index.html). Make sure to install the driver into the Windows system only, not the WSL2 Linux system. Unfortunately, it seems some bug in WSL2 showing "segmentation fault" if you check the driver version by nvidia-smi (microsoft/WSL#11277). I got the message on WSL2 on WIndows 11 but not WSL2 on Windows10. |
Beta Was this translation helpful? Give feedback.
-
Yes, that is a warning saying that your CUDA driver is older than your
|
Beta Was this translation helpful? Give feedback.
For record, I just needed to install the latest version of NVIDIA driver (https://docs.nvidia.com/cuda/wsl-user-guide/index.html). Make sure to install the driver into the Windows system only, not the WSL2 Linux system. Unfortunately, it seems some bug in WSL2 showing "segmentation fault" if you check the driver version by nvidia-smi (microsoft/WSL#11277). I got the message on WSL2 on WIndows 11 but not WSL2 on Windows10.