title: cuda version not installed on pytorch
body: <p>I have a cuda-capable gpu in my computer, and the version is NVIDIA GeForce GTX 1660 Ti. The operating system is Windows10. According to the official website</p>
  <p><a href="https://pytorch.org/get-started/locally/" rel="nofollow noreferrer">https://pytorch.org/get-started/locally/</a></p>
  <p>I opened anaconda prompt(anaconda 3) and entered the following line for installing pytorch</p>
  <pre><code>conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge
  </code></pre>
  <p>but when I enter this code in pycharm:</p>
  <pre><code>import torch
  print(torch.cuda.is_available())
  </code></pre>
  <p>It returns False and this error appears:</p>
  <pre><code>UserWarning: CUDA initialization: CUDA driver initialization failed, you might not have a CUDA gpu. (Triggered internally at  ..\c10\cuda\CUDAFunctions.cpp:115.)
    return torch._C._cuda_getDeviceCount() &gt; 0
  </code></pre>
  <p>Why is it like this? Doesn't this command</p>
  <pre><code>conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge
  </code></pre>
  <p>by default try to install cuda version if i have a cuda-capable gpu?</p>
  <p>This is the output of nvidia-smi</p>
  <p><a href="https://i.stack.imgur.com/4Z8IJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Z8IJ.png" alt="enter image description here" /></a></p>