How to Install the NVIDIA CUDA Driver in WSL2

Original article was published by David Littlefield on Artificial Intelligence on Medium

Join the NVIDIA Developer Program:

The NVIDIA Developer Program is a free program that gives members access to the latest software development kits (SDK), tools, and training. It allows members to submit issues and feature requests to the NVIDIA engineering team. It also notifies members about events and activities for programmers.

In this section, we’ll join the NVIDIA Developer Program:

  1. Click “Join Now”
  2. Enter email address
  3. Click “Next”
  4. Click “Create Account”
  5. Enter account information
  6. Click “Create Account”
  7. Verify email address
  8. Click “Submit”
  9. Enter account information
  10. Click “Submit”

Download the NVIDIA CUDA Driver:

Compute Unified Device Architecture (CUDA) is a programming language extension and hardware driver that harnesses the computational power of NVIDIA graphics processing units (GPU). It lets developers build software that dramatically speeds up computations using parallel processing. This runs computations on thousands of GPU cores instead of tens of CPU cores.

In this section, we’ll download the NVIDIA CUDA driver:

  1. Visit the official website
  2. Click “Get CUDA Driver”
  3. Click “Download Now”