WSL2 - TensorFlow Install Issue Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered

Description

Facing this error message when trying to use tensorflow on WSL2 Ubuntu - Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered.
TF-TRT Warning: Could not find TensorRT
could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.

Environment

TensorRT Version: 8.6.1.6
GPU Type: 4080 Laptop GPU
Nvidia Driver Version: NVIDIA-SMI 546.17 Driver Version: 546.17
CUDA Version: 12.3, CUDA Toolkit Version - 11.8
CUDNN Version: v8.6
Operating System + Version: Windows 11
Python Version (if applicable): Python 3.10.13
TensorFlow Version (if applicable): 2.15.0
PyTorch Version (if applicable): N/A
Baremetal or Container (if container which image + tag): N/A
pyenv Version - 2.3.35-11-g9908daf8
WSL version: 2.0.14.0
Kernel version: 5.15.133.1-1
tensorFlowErrors.txt (2.3 KB)

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Followed the steps in here to install tensorflow and verification

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

I have the same error, but just installing Nvidia Container Toolkit in linux mint 21.3 in https://github.com/NVIDIA/nvidia-container-toolkit.

I get the following error message after importing tensorflow:

GPU: RTX 3060 12GB
Linux mint 21.3 fresh new install
tensorflow 2.14.0