title: Why is tensorflow still not seeing my GPU?
body: <p>I've been confused by this issue for a few days now. I've tried reinstalling my driver and I still cant get my GPU to work with tensorflow.</p>
  <pre><code>from tensorflow.python.client import device_lib
  print(device_lib.list_local_devices())
  </code></pre>
  <pre><code>[name: &quot;/device:CPU:0&quot;
  device_type: &quot;CPU&quot;
  memory_limit: 268435456
  locality {
  }
  incarnation: 13159433722602582150
  , name: &quot;/device:XLA_CPU:0&quot;
  device_type: &quot;XLA_CPU&quot;
  memory_limit: 17179869184
  locality {
  }
  incarnation: 12266805389881928380
  physical_device_desc: &quot;device: XLA_CPU device&quot;
  , name: &quot;/device:XLA_GPU:0&quot;
  device_type: &quot;XLA_GPU&quot;
  memory_limit: 17179869184
  locality {
  }
  incarnation: 1094190154514983639
  physical_device_desc: &quot;device: XLA_GPU device&quot;
  ]
  </code></pre>
  <p>This seems different from what I'm expecting:</p>
  <pre><code> [name: &quot;/device:CPU:0&quot;
      device_type: &quot;CPU&quot;
      memory_limit: 268435456
      locality {
      }
      incarnation: 4549764507052008926
      , name: &quot;/device:XLA_CPU:0&quot;
      device_type: &quot;XLA_CPU&quot;
      memory_limit: 17179869184
      locality {
      }
      incarnation: 5130440468361087955
      physical_device_desc: &quot;device: XLA_CPU device&quot;
      , name: &quot;/device:GPU:0&quot;
      device_type: &quot;GPU&quot;
      memory_limit: 3136264601
      locality {
      bus_id: 1
      links {
      }
      }
      incarnation: 8742529146709444949
      physical_device_desc: &quot;device: 0, name: GeForce GTX 1050 Ti, pci bus id: 
      0000:01:00.0, compute capability: 6.1&quot;
      , name: &quot;/device:XLA_GPU:0&quot;
      device_type: &quot;XLA_GPU&quot;
      memory_limit: 17179869184
      locality {
      }
      incarnation: 12774508348529661585
      physical_device_desc: &quot;device: XLA_GPU device&quot;
      ]
      [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
  </code></pre>
  <pre><code>import torch
  torch.cuda.is_available()
  &gt;&gt;&gt; True
  </code></pre>
  <pre><code>tf.config.experimental.list_physical_devices('GPU')
  &gt;&gt;&gt; []
  </code></pre>
  <p>Here's my driver details.</p>
  <pre><code>nvidia-smi
  Sun Nov 29 11:34:23 2020
  +-----------------------------------------------------------------------------+
  | NVIDIA-SMI 457.30       Driver Version: 457.30       CUDA Version: 11.1     |
  |-------------------------------+----------------------+----------------------+
  | GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
  | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
  |                               |                      |               MIG M. |
  |===============================+======================+======================|
  |   0  GeForce GTX 1050   WDDM  | 00000000:01:00.0 Off |                  N/A |
  | N/A   53C    P0    N/A /  N/A |    112MiB /  4096MiB |      0%      Default |
  |                               |                      |                  N/A |
  +-------------------------------+----------------------+----------------------+
  
  +-----------------------------------------------------------------------------+
  | Processes:                                                                  |
  |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
  |        ID   ID                                                   Usage      |
  |=============================================================================|
  |    0   N/A  N/A     15232      C   ...ython\Python38\python.exe    N/A      |
  +-----------------------------------------------------------------------------+
  </code></pre>
  <p>Some people say the issue is with CUDA version being more than 10. Some people say the issue is that I should uninstall tensorflow and reinstall tensorflow-gpu.</p>