Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?)

like image 228
Moshel Avatar asked Aug 18 '19 04:08

Moshel


1 Answers

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, e.g.

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.

like image 119
carobnodrvo Avatar answered Nov 18 '22 12:11

carobnodrvo