On Ubuntu 22.04, I followed all the directions to install CUDA, CUDNN, Tensorflow, and TensorRT. CUDA and CUDNN tests run successfully. However, Tensorflow test step fails post installation. When I enter the following in Python 3, “import tensorflow as tf” it says “TF-TRT Warning: Could not find TensorRT” (see exhibit 1 below for the detailed error message.
When I type “hello = tf.constant(‘Hello, TensorFlow!’)” in Python3, it says “failed call to cuInit: CUDA_ERROR_SYSTEM_DRIVER_MISMATCH: system has unsupported display driver / cuda driver combination”. See exhibit 2 below for detailed error message.
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
import tensorflow as tf
2023-03-25 23:46:25.078082: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
2023-03-25 23:46:25.101349: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-25 23:46:25.470624: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
hello = tf.constant(‘Hello, TensorFlow!’)
2023-03-25 23:46:34.600824: E tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:266] failed call to cuInit: CUDA_ERROR_SYSTEM_DRIVER_MISMATCH: system has unsupported display driver / cuda driver combination
2023-03-25 23:46:34.600845: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:168] retrieving CUDA diagnostic information for host: aham-US-Desktop-Codex-R
2023-03-25 23:46:34.600848: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:175] hostname: aham-US-Desktop-Codex-R
2023-03-25 23:46:34.600902: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:199] libcuda reported version is: 510.108.3
2023-03-25 23:46:34.600912: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:203] kernel reported version is: 530.30.2
2023-03-25 23:46:34.600915: E tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:312] kernel version 530.30.2 does not match DSO version 510.108.3 – cannot find working devices in this configuration