【发布时间】:2020-10-05 08:41:20
【问题描述】:
我最近使用 CUDA 11.1.0 cuDNN 8.0.4 安装了 TensorFlow (2.3.1) 在许多论坛中,他们说 cuDNN 11.1 向后兼容以前的版本,我还按照 TensorFlow 安装指南中的说明设置了 PATH 变量,但我仍然收到警告
2020-10-05 13:55:42.704300: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-10-05 13:55:42.706817: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
但我确实有 Nvidia GeForce RTX 2070 Super 卡。如何解决这个问题? 我正在使用 python 3.8 提前致谢!
【问题讨论】:
-
没有 cudnn
11.1(你的意思是 cuda)并且 cudnn 和 cuda 的向后兼容性也非常有限:tensorflow.org/install/source#tested_build_configurations -
@runDOSrun 感谢您的注意,它是 cudnn 8.0.4。所以你推荐安装TensorFlow安装指南中提到的相同版本?
-
是的,按照说明操作。
-
您拥有的 Tensorflow 版本正在寻找 CUDA 10.1。 Yu 可以留下更新的驱动程序,但您必须拥有构建 tensorflow 的工具包库和 CUDNN 版本