Tried CUDA Toolkit 11.1.1 and CUDA Toolkit 11.2
I followed this tutorial: CUDA on WSL :: CUDA Toolkit Documentation, BlackScholes sample works fine - no errors, but nvidia-smi or sudo docker run --rm --gpus all nvidia/cuda:11.1-base nvidia-smi returns: Failed to properly shut down NVML: Driver Not Loaded
Reinstalling the drivers, Ubuntu, CUDA Toolkits also didn’t work.
Same problem here with the latest attempts on 24Apr21 with latest Insider Build…
Windows 10 Pro 21364
Ubutnu 18.04.5 LTS
Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host)
Cuda Toolkit 11.3
RTX 3070, driver 470.14 (Also updated via Windows to 470.25)…
ah, i already have multiple hours into this. Good to see that i’m not the only one with this problem.
I’m on windows 21364
nvidia-smi (powershel) 470.14 CUDA 11.3 (geforce 2080)
Tried Ubuntu 18.04 and 20.04
the same problem:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Failed to properly shut down NVML: Driver Not Loaded
I reinstall the wsl2 driver 465.21 then everything works well as original.
Given the version of 470.14, I think the solution is to find out the meta-package nvidia-utils-470.