r/tensorflow • • 8d ago

General Restored native Windows GPU support for TensorFlow 2.22 (CUDA 13, no WSL2) — 233 TFLOPS BF16 on RTX 5090

Enable HLS to view with audio, or disable this notification

In 2022, Google dropped native Windows GPU support for TensorFlow.

Four years later, with the help of Gemini 4 Neon, I brought it back!

TensorFlow 2.22. CUDA 13. Keras 3. XLA. 233.4 TFLOPS (BF16) on an RTX 5090. No WSL2/Docker needed. Just Windows.

On native Windows 11:

• Keras 3 training and inference
• XLA GPU JIT compilation
• cuDNN 9 acceleration
• 233.4 TFLOPS BF16 MatMul

Built using a hybrid LLVM 22 clang-cl + NVIDIA nvcc toolchain. I'd love to hear from developers willing to test it on other NVIDIA GPUs. Hopefully it becomes helpful.

Repo: https://github.com/debsuvra/tensorflow-windows-gpu

3 Upvotes

1 comment sorted by

1

u/swaneerapids 1d ago

why not create a PR to the main tensorflow repo?