I have encounter "I tensorflow/stream_executor/cuda/cuda_dnn.cc:368] Loaded cuDNN version 8400 Could not load library cudnn_cnn_infer64_8.dll. Error code 193"

will working with TensorFlow. version: TensorFlow 2.8 CUDA 11.6 CUDNN 8.4

2

There are 2 best solutions below

1
On

The versions you installed for TensorFlow and NVIDIA CUDA probably don't match. Try using one of the versions tested here: Tensorflow GPU Source Install Don't forget to install "tensorflow-gpu" module instead of "tensorflow" in order to use NVIDIA GPU Acceleration.

1
On

i simply used conda insted pip to install cuda and cudnn. then used pip for the tensorflow gpu instalation. vrsions that worked with each other are cuda 11.2 and tensorflow2.10. anything above 2.10 not suport gpu