CUDA on WSL User Guide - NVIDIA Developer

This driver enables graphics on WSL2.0 by supporting DX12 APIs. TensorFlow with DirectML support on WSL will get NV GPU hardware acceleration for training and inference workloads. There are no present ... The instructions shown here are for Ubuntu 18.04. See the CUDA Linux Installation Guide for more information on other distributions. ................
................