简体   繁体   English

Tensorflow 只显示“在本地成功打开 CUDA 库 libcublas.so.10.0”,而没有关于 cudnn

[英]Tensorflow shows only "successfully opened CUDA library libcublas.so.10.0 locally" and nothing about cudnn

My tensorflow only prints out the line:我的 tensorflow 只打印出这一行:

I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally when running. I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally运行时在I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally

Tensorflow logs on the net has lots of other libraries being loaded like libcudnn.网络上的 Tensorflow 日志有许多其他库正在加载,例如 libcudnn。

As I think my installation performance is not optimal, I am trying to find out if it is because of this.因为我认为我的安装性能不是最佳的,所以我试图找出是否是因为这个原因。 Any help will be appreciated!任何帮助将不胜感激!

my tf is 1.13.1 NVIDIA Driver Version: 418.67 CUDA Version: 10.1 (I have also 10.0 installed. can this be the problem?)我的 tf 是 1.13.1 NVIDIA 驱动程序版本:418.67 CUDA 版本:10.1(我也安装了 10.0。这可能是问题吗?)

According to TensorFlow documentation , cuDNN is a requirement for tensorflow-gpu .根据TensorFlow文档cuDNNtensorflow-gpu的要求。 If you don't have cuDNN installed, you wouldn't be able to install tensorflow-gpu since the dependency library would be missing.如果您没有安装cuDNN ,您将无法安装tensorflow-gpu因为依赖库将丢失。

So, if you have successfully installed tensorflow-gpu and are able to use it, eg所以,如果你已经成功安装了tensorflow-gpu并且能够使用它,例如

import tensorflow as tf
tf.Session()

you are fine.你很好。

EDIT编辑

I just checker here and tensorflow_gpu-1.13.1 officially only supports CUDA 10.0 .我只是在这里检查一下tensorflow_gpu-1.13.1正式只支持CUDA 10.0 I would recommend to use it instead of CUDA 10.1 .我建议使用它而不是CUDA 10.1

Further, NVIDIA recommends using driver version 410.48 with CUDA 10.0 .此外, NVIDIA建议将驱动程序版本410.48CUDA 10.0 I would stick with it as well.我也会坚持下去。

Actually i always rely on a stable setup.其实我总是依赖一个稳定的设置。 And i tried most of the tf - cuda - cudnn versions.我尝试了大部分 tf - cuda - cudnn 版本。 But most stable was tf 1.9.0 , CUDA 9.0, Cudnn 7 for me.但对我来说,最稳定的是 tf 1.9.0 、CUDA 9.0、Cudnn 7。 Used it for too long without a problem.用了很久都没问题。 You should give it a try if it suits you.如果它适合你,你应该试一试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM