NVIDIA CUDA on WSL 12.6 User Guide

User guide for installing and using NVIDIA CUDA on Windows Subsystem for Linux (WSL) 2.


NVIDIA CUDA on WSL 12.6 User Guide - cover page
Brand
Nvidia
Document type
User Manual
Language
Chinese
Pages
20
File format
PDF
File size
536 KB
Published
16 November, 2026
Updated
16 November, 2026
MD5 checksum
95191DA061933E90B8C2C897FDE5CFC2

About this manual

This guide explains how to install and use NVIDIA CUDA on WSL 2. It covers installing the NVIDIA driver, setting up WSL 2, and configuring a Linux development environment. It also details supported software versions and limitations for GPU-accelerated computing on WSL.

The guide is designed for developers who want to use CUDA on Windows with Linux compatibility, enabling seamless GPU acceleration for machine learning and data science without dual-booting or traditional virtual machines. This manual is written in Chinese.

What's inside

  • NVIDIA Compute Software Support on WSL 2
  • Getting Started with CUDA on WSL 2
  • CUDA Support for WSL 2
  • WSL 2 Support Constraints
  • Appendix
  • Notices

Specifications

NVIDIA Windows DriverLatest x86 production driver, R495 and later
Docker SupportSupported
CUDA ToolkitPreview Support
RAPIDS22.04 or later 1.10 - Experimental Support for single GPU
NCCL2.12 or later 1.4+

Frequently asked questions

What is WSL 2?

WSL 2 is a virtual machine with a Linux kernel that allows running Linux applications directly on Windows with full compatibility and performance improvements.

Do I need to install a Linux driver in WSL?

No, do not install any Linux display driver in WSL. Only install the NVIDIA Windows driver.

What are the minimum requirements for CUDA on WSL 2?

Install the latest NVIDIA Windows driver (R495 or later) and ensure WSL 2 is installed and updated.

Download PDF (536 KB)

More Nvidia Manuals


View all Nvidia manuals →