Q:

GPU available but not used

System information

OS Platform and Distribution: Windows 10
TensorFlow installed from: conda install tensorflow-gpu
TensorFlow version: 2.1
Python version: 3.7
CUDA/cuDNN version: Cuda 10.1.105 / cudNN v7.6.5.32

When I run:
print(tf.test.is_gpu_available()) and
print(tf.test.is_built_with_cuda())
on a Python terminal from Conda it says True for both of them. Same if I check it while running on VS Code. But when I run nvidia-smi there is no process on GPU.
screenshot
GPU-Z info

A:

Your GPU GT 720M have Compute Capability (2.x) therefore not supported by cuda 10. You can check Compute Capability tiers here. You can also check CudNN support matrix here. It is also mentioned here that at least you need Compute Capability 3.5. You could run on CC 3.0 GPU's but only on earlier versions of tensorflow-gpu/Cuda/CUdNN trio. So it seems that you need to upgrade or better use Colab for a while.

