TensorFlow + RTX 5090 + WSL: CUDA 12 Installed in WSL but Windows Driver Uses CUDA 13

I’m trying to run TensorFlow with GPU on Windows 11 + WSL2 using an NVIDIA RTX 5090.

The issue

TensorFlow currently supports:

CUDA 12.3

cuDNN 9.x

Requires NVIDIA driver ≥ 560.94

But RTX 50-series GPUs ship with CUDA 13-based drivers only — and no 560.xx driver exists for these GPUs.

What we did

Installed CUDA 12.2 and cuDNN inside WSL

Verified that WSL CUDA toolkit is version 12.2

BUT WSL still gets the CUDA runtime from the Windows driver, which is CUDA 13

TensorFlow refuses to initialize the GPU because the driver version is too new and unsupported

Problem summary

Even in WSL, CUDA depends on the host Windows driver, so we cannot run CUDA 12 apps as long as the lowest CUDA version available for this graphics card is 12.8.

Question

Is there any workaround to run TensorFlow on an RTX 5090 today? For example:

A TF build that works with CUDA 13?

A compatibility layer between CUDA 12 and CUDA 13?

Any announcement from NVIDIA/Google about driver/toolkit support for 50-series?

Thanks in advance!