Tensorflow没有看到RTX 2080

时间:2019-04-04 09:29:26

标签: python tensorflow

我已经安装了CUDA 10.0和cudnn 7.5.0.56。使用nvcc --version我有这个输入

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:04_Central_Daylight_Time_2018
Cuda compilation tools, release 10.0, V10.0.130

还安装了tensorflow-gpu 1.13.1

G:\TensorFlow\test>pip install tensorflow-gpu
Requirement already satisfied: tensorflow-gpu in g:\python\python36\lib\site-packages (1.13.1)

但是当我开始这段代码时

import tensorflow as tf

from tensorflow.python.client import device_lib 
print(device_lib.list_local_devices())

看不到我的GPU rtx2080。这是输入

2019-04-04 12:24:29.147070: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 13640917612700922120
]

我是Tensorflow的新手,不明白为什么它看不到我的GPU。 会非常感谢您的帮助!

0 个答案:

没有答案