解决:W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library

  • 1、问题
  • 2、原因
  • 3、解决

1、问题

环境:CUDA11.1+tensorflow2.4.1
在测试tensorflow是否可以gpu时报错:

W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found

2、原因

tensorflow没有加载到“cusolver64_10.dll”,于是在CUDA安装目录的bin目录下看一下,确实没有。解决:W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library_第1张图片

3、解决

需要下载这个“cusolver64_10.dll”文件,再放进bin目录,解决!

I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll

此外有的人可能也会少了其他文件,也按这个方法下载好文件再放进去。有需要的可以到https://download.csdn.net/download/weixin_43760844/16675972下载。

你可能感兴趣的:(Problems,and,Solutions,深度学习,python,tensorflow)