title: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
body: <p>I get the following error when l run tensorflow in GPU.</p>
  
  <pre><code>2018-09-15 18:56:51.011724: E tensorflow/core/common_runtime/direct_session.cc:158] Internal: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
  Traceback (most recent call last):
    File "evaluate_sample.py", line 160, in &lt;module&gt;
      tf.app.run(main)
    File "/anaconda3/envs/tf/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
      _sys.exit(main(argv))
    File "evaluate_sample.py", line 123, in main
      with tf.Session() as sess:
    File "/anaconda3/envs/tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1494, in __init__
      super(Session, self).__init__(target, graph, config=config)
    File "/anaconda3/envs/tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 626, in __init__
      self._session = tf_session.TF_NewSession(self._graph._c_graph, opts)
  tensorflow.python.framework.errors_impl.InternalError: Failed to create session.
  </code></pre>
  
  <p><strong>Where do  the following errors come from  ?</strong> </p>
  
  <pre><code>E tensorflow/core/common_runtime/direct_session.cc:158] Internal: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
  </code></pre>
  
  <p><strong>and</strong>
  <strong>tensorflow.python.framework.errors_impl.InternalError: Failed to create session</strong>.</p>
  
  <p>Such tha my version of : </p>
  
  <p>tensorflow is : 1.10</p>
  
  <pre><code>cat /proc/driver/nvidia/version
  </code></pre>
  
  <p>NVRM version: NVIDIA UNIX x86_64 Kernel Module  390.77  Tue Jul 10 18:28:52 PDT 2018</p>
  
  <p>GCC version:  gcc version 7.3.0 (Debian 7.3.0-28)</p>
  
  <pre><code>nvcc --version
  </code></pre>
  
  <p>nvcc: NVIDIA (R) Cuda compiler driver</p>
  
  <p>Copyright (c) 2005-2016 NVIDIA Corporation</p>
  
  <p>Built on Sun_Sep__4_22:14:01_CDT_2016</p>
  
  <p>Cuda compilation tools, release 8.0, V8.0.44</p>