How to install tensorflow with cuda 11.8 in linux?

I’ve nvidia-runtime driver 515.48.07. My pytorch packages are using cuda 11.8 which is only compatible with current nvidia-driver on my system. I’ve tried to install using pip install tensorflow[and-cuda], though it additionally install nvidia-cu packages with cuda 12. How to install tensorflow gpu version for cuda 11.8?

Hi @ashwini_pal,Tensorflow 2.14 supports CUDA 11.8. you can install TF 2.14 using pip install tensorflow==2.14. Thank You.