TENSORFLOW-GPU

Hello, i’m actually trying to use tensorflow gpu for deeplearning, i installed CUDA 9.0 Cudnn 7.0 and tensorflow GPU 1.13.1 . When i try to test if tensorflow GPU is working with sess = tf.Session() i get this error :

Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import tensorflow as tf
sess = tf.Session()
2019-06-02 00:54:00.446905: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-06-02 00:54:00.471579: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2208000000 Hz
2019-06-02 00:54:00.473071: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x55fa1b8c05c0 executing computations on platform Host. Devices:
2019-06-02 00:54:00.473103: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
2019-06-02 00:54:00.595757: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:998] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-06-02 00:54:00.596616: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x55fa1b96c050 executing computations on platform CUDA. Devices:
2019-06-02 00:54:00.596643: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): GeForce GTX 1050, Compute Capability 6.1
2019-06-02 00:54:00.596955: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.493
pciBusID: 0000:01:00.0
totalMemory: 3.94GiB freeMemory: 3.65GiB
2019-06-02 00:54:00.596977: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
Traceback (most recent call last):
File “”, line 1, in
File “/home/nabo/anaconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py”, line 1551, in init
super(Session, self).init(target, graph, config=config)
File “/home/nabo/anaconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py”, line 676, in init
self._session = tf_session.TF_NewSessionRef(self._graph._c_graph, opts)
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version

If somone could help me fix it please,I will be very grateful. thank you

update the GPU driver to the latest one for your GPU