Skip to content

Instantly share code, notes, and snippets.

View inclinedadarsh's full-sized avatar
🚆
Shipping

Adarsh Dubey inclinedadarsh

🚆
Shipping
View GitHub Profile
@Ayke
Ayke / cuda-wsl2-ubuntu.md
Last active April 20, 2025 21:30
Everything About CUDA in WSL2 Ubuntu

Prerequisites, i.e. the most important things

  1. Time of writing: Jan 18, 2023, updated on Sep 22, 2024. The following assumes that you're trying to install CUDA on WSL2 Ubuntu.

  2. Check support matrix first before you install any version of CUDA, because chances are the latest CUDA does not have cuDNN support yet, then you would have to re-install older version if you found out later.

    https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html#cudnn-cuda-hardware-versions

    At the time of writing, the latest cuDNN version is 8.7 and it supports CUDA 11.8.

  3. Windows 10 must be build 20145 or later, or you should be on Windows 11.