简体   繁体   中英

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

My tensorflow only prints out the line:

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

Tensorflow logs on the net has lots of other libraries being loaded like 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?)

According to TensorFlow documentation , cuDNN is a requirement for tensorflow-gpu . If you don't have cuDNN installed, you wouldn't be able to install tensorflow-gpu since the dependency library would be missing.

So, if you have successfully installed tensorflow-gpu and are able to use it, eg

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 . I would recommend to use it instead of CUDA 10.1 .

Further, NVIDIA recommends using driver version 410.48 with CUDA 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. But most stable was tf 1.9.0 , CUDA 9.0, Cudnn 7 for me. Used it for too long without a problem. You should give it a try if it suits you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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