Scenario: You’re trying to get your GPU to work in TensorFlow on a Ubuntu Laptop. You’ve already installed Tensorflow, Cuda, and Nvidia drivers.
You run python and import TensorFlow:
import tensorflow as tf
And you see encouraging messages like: "successfully opened CUDA library libcublas.so locally"
But in Python, when you run,
tf.Session()
You get this cryptic error:
failed call to cuInit: CUDA_ERROR_UNKNOWN
Here’s how to fix this.
Continue reading “TensorFlow – failed call to cuInit: CUDA_ERROR_UNKNOWN”