Tensorflow unable to detect GPU

Hi, I have the following configuration:
python 3.10.11
tensorflow version 2.11.0
Cuda Version 12.1
Linux

I have been trying to run my tensorflow code on GPU but it is unable to detect GPU. Please help me.

@Madhav_Kanda,

Welcome to the Tensorflow Forum!

According to tested build configurations please try with CUDA 11.2 instead of 12.1.

Thank you!