Failing to get tensorflow to recognize gpu, Cuda and Cudnn installed

I am struggling to get tensorflow to work with my gpu, I am running wsl2 and have tried various versions including downloading cuda toolkit and cudnn and adding to bashrc as well as installing conda and downloading those there, yet I continue to fail to get it to recognize the gpu. Attached are images documenting:

image
Screenshot 2024-03-18 170712

Hi @Alexander_Bowler, Could you please try to create new environment and install Tensorflow using python3 -m pip install tensorflow[and-cuda] which will install Tensorflow latest version and the CUDA packages supported for the Tensorflow and verify whether you can able to detect GPU or not. Thank You.