Monday, August 1, 2016

Magic fix for GPU issues in Tensorflow

E tensorflow/stream_executor/cuda/] failed call to cuInit: CUDA_ERROR_UNKNOWN
I tensorflow/stream_executor/cuda/] libcuda reported version is: Not found: was unable to find DSO loaded into this program

I tensorflow/stream_executor/cuda/] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module  367.35  Mon Jul 11 23:14:21 PDT 2016
GCC version:  gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
I tensorflow/stream_executor/cuda/] kernel reported version is: 367.35.0
I tensorflow/core/common_runtime/gpu/] No GPU devices available on machine.

This error can be fixed by

sudo apt-get install nvidia-modprobe

See issue

No comments:

Post a Comment