title: RuntimeError: No CUDA GPUs are available
body: <p>I want to train a gpt2 model in my laptop and I have a GPU in it and my os is windows , but I always got this error in python:</p>
  <pre><code>torch._C._cuda_init()
  RuntimeError: No CUDA GPUs are available
  </code></pre>
  <p>when I tried to check the availability of GPU in the python console, I got true:</p>
  <pre><code>import torch
  torch.cuda.is_available()
  Out[4]: True
  </code></pre>
  <p>but I can't get the version by</p>
  <pre><code>nvcc version 
  #or  nvcc --version
  NameError: name 'nvcc' is not defined
  </code></pre>
  <p>I use this command to install CUDA</p>
  <pre><code>conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch  
  </code></pre>
  <p>What can I do to make the GPU available for python?</p>