title: Pytorch CUDA error: no kernel image is available for execution on the device on RTX 3090 with cuda 11.1
body: <p>If I run the following:</p>
  <pre><code>import torch
  import sys
  print('A', sys.version)
  print('B', torch.__version__)
  print('C', torch.cuda.is_available())
  print('D', torch.backends.cudnn.enabled)
  device = torch.device('cuda')
  print('E', torch.cuda.get_device_properties(device))
  print('F', torch.tensor([1.0, 2.0]).cuda())
  </code></pre>
  <p>I get this:</p>
  <pre><code>A 3.7.5 (default, Nov  7 2019, 10:50:52) 
  [GCC 8.3.0]
  B 1.8.0.dev20210115+cu110
  C True
  D True
  E _CudaDeviceProperties(name='GeForce RTX 3090', major=8, minor=6, total_memory=24267MB, multi_processor_count=82)
  F 
  &lt;stacktrace&gt;
  CUDA error: no kernel image is available for execution on the device
  </code></pre>
  <p>More info about my system:</p>
  <ul>
  <li>Nvidia version: NVIDIA-SMI 455.38 Driver Version: 455.38 CUDA Version: 11.1</li>
  <li>python 3.7, Ubuntu 18.04</li>
  </ul>