CUDA Installation on wsl2

Hello guys, I am trying to install CUDA 11.8 on WSL2-Ubuntu 20.04 - Windows 10 following the installation guide from

I have run all the commands from the bellow link successfully. But when I am trying to use CUDA in pytorch they are not available.
I am using the CUDA toolkit from

Here is the result from nvidia-smi

  1. Is the CUDA installed correctly??
  2. Any suggestion how should I proceed next?
  3. Do I need to install nvidia-cuda-toolkit?