为什么 Tensorflow 2.1 无法识别我的 GPU?

Why won't Tensorflow 2.1 recognise my GPU?

我正在尝试在 windows 机器上设置 Tensorflow 2,我检查过它具有支持 Cuda 的 GPU(Nvidia Quadro RTX 3000)。我已经安装了必要的 CUDA 库和 SDK 并添加到我的路径(见下文):

我已经通过 pip 安装了 tensorflow 和 tensorflow-gpu。我用以下内容检查了我的设置:

gpus = tf.config.list_physical_devices('GPU')
result = tf.config.list_physical_devices()
print(tf.__version__)
print(result)
print('Built with cuda: ', tf.test.is_built_with_cuda())
print('Built with gpu support: ', tf.test.is_built_with_gpu_support())
print('is gpu available: ', tf.test.is_gpu_available())
print('gpus: ', gpus)

然而我得到的输出是:

2.1.0
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]
Built with cuda:  True
Built with gpu support:  True
WARNING:tensorflow:From <ipython-input-1-601dc453d590>:14: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.config.list_physical_devices('GPU')` instead.
is gpu available:  False
gpus:  []

关于此问题的其他问题涉及设置 tensorflow 的问题,这里似乎并非如此。为什么 tensorflow 仍然看不到我的 GPU?有什么我遗漏的吗?

TensorFlow 2.1暂时不支持CUDA 10.2

您必须使用 CUDA 10.1 中所写的 docs