【问题标题】:Could not load dynamic library 'cudart64_101.dll'无法加载动态库“cudart64_101.dll”
【发布时间】: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 版本

标签: tensorflow installation


【解决方案1】:

根据 Tensorflow 测试的构建配置,CUDA 11.0 可用于TF 2.4.0

对于TF 2.3.0,兼容的CUDA是10.1,cuDNN是7.6

更多详情请参考here

【讨论】:

    猜你喜欢
    • 2020-11-23
    • 2020-12-22
    • 2020-05-06
    • 2014-11-08
    • 1970-01-01
    • 2020-06-23
    • 2022-10-18
    • 1970-01-01
    相关资源
    最近更新 更多