title: AssertionError: Torch not compiled with CUDA enabled (depite several reinstallations)
body: <p>Whenever I try to move a variable to cuda in pytorch (e.g. <code>torch.zeros(1).cuda()</code>, I get the error message &quot;AssertionError: Torch not compiled with CUDA enabled&quot;. Besides,<code>torch.cuda.is_available()</code> returns <code>False</code>.</p>
  <p>I have read several answers to approaching this error but for some reason several attempts to reinstall cuda and putorch didn't change anything. Here are some of the settings I used:</p>
  <pre><code>conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
  
  conda install pytorch torchvision cudatoolkit=11 -c pytorch-nightly
  
  conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
  </code></pre>
  <p>Yet the same error remains. What could be the issue?</p>
  <p>Some settings:
  I'm using Ubuntu 20.04, GPU is RTX 2080, <code>nvidia-smi</code> works fine (NVIDIA-SMI 460.91.03, Driver Version: 460.91.03, (max possible) CUDA Version: 11.2)</p>