GPU Compute Comes to WSL2, Enabling Real ML Workloads
Microsoft announced GPU-accelerated compute support for WSL2 at Build 2020, followed by an NVIDIA CUDA preview that let machine learning frameworks like PyTorch and TensorFlow use a physical GPU from inside WSL2.