Not Yet Support WSL2
Download Driver
GPU in Windows Subsystem for Linux (WSL)
CUDA on Windows Subsystem for Linux (WSL) - Public Preview Microsoft Windows is a ubiquitous platform for enterprise, business, and personal computing systems. However, industry AI tools, models, frameworks, and libraries are predominantly available on Linux OS.
https://developer.nvidia.com/cuda/wsl

Startup Scripts
CUDA on WSL :: CUDA Toolkit Documentation
The guide for using NVIDIA CUDA on Windows Subsystem for Linux.
https://docs.nvidia.com/cuda/wsl-user-guide/index.html
References
GPU Accelerated Machine Learning with WSL 2
Adding GPU compute support to Windows Subsystem for Linux (WSL) has been the #1 most requested feature since the first WSL release. (https://github.com/micro...
https://www.youtube.com/watch?v=PdxXlZJiuxA

Enable NVIDIA CUDA in WSL 2 - Win32 apps
The Windows Insider SDK supports running existing ML tools, libraries, and popular frameworks that use NVIDIA CUDA for GPU hardware acceleration inside a WSL 2 instance. This includes PyTorch and TensorFlow as well as all the Docker and NVIDIA Container Toolkit support available in a native Linux environment.
https://docs.microsoft.com/en-us/windows/win32/direct3d12/gpu-cuda-in-wsl


Seonglae Cho