I have a Nvidia 1080Ti GPU, and I want to run Pytorch on WSL2, but I got error "Found no NVIDIA driver on your system" but I did installed the NVIDIA driver. Here is the step I did.
I installed WSL2, and installed NVIDIA driver for Cuda on WSL from GeForce Driver: https://developer.nvidia.com/cuda/wsl/download
I activate a clean conda environment with Python 3.7
Then I run the Pytorch installation: conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
Then the error occurred saying Found no NVIDIA driver. I came across a post on Pytorch forum, and someone did get it to run in a similar settings: Ubuntu 18.04 + Conda + Pytorch https://discuss.pytorch.org/t/found-no-nvidia-driver-on-your-system-but-its-there/35063/4
I don't have multiple GPUs, so I don't know how to get my driver recognized in WSL2. Thank you for any thoughts!