No GPUs Detected Error - CUDA 12.6, Docker Tensorflow 2.17.0

Hi,

I am trying to use the Docker container for Tensorflow 2.17.0, but I am getting a no GPUs detected error.

As far as I can tell, the error is due to Tensorflow 2.17.0 only being compatible with CUDA 12.3 (source: 从源代码构建  |  TensorFlow), but I am using the newest NVIDIA driver (560), which has CUDA 12.6.

Unfortunately, I need the most recent NVIDIA driver for other reasons, so I cannot simply just roll back the NVIDIA driver. I have tried to downgrade to CUDA 12.3 whilst keeping the latest NVIDIA driver, but I have not been able to do so.

Can anybody advise as to whether it is possible to downgrade from CUDA 12.6 to 12.3, or alternatively whether there are any other ways I can get the Tensorflow Docker container to work with CUDA 12.6.

Thank you very much.