WSL cuda not detected

wsl 4.19.121
ubuntu 18.04
cuda-toolkit 11.0
nvidia driver: 460.15
Pytorch: 1.6.0
Python: 3.6.8

I’ve followed the steps in this tutorial
https://docs.nvidia.com/cuda/wsl-user-guide/index.html

But when I run pytorch torch.cuda.is_available() , it returns False.

3 Likes