Once complete, you should see a series of outputs that end in done.:Ĭongratulations! You should have a working installation of CUDA by now. Sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600 Details for use of the software can be found in the NVIDIA GeForce Software license and GeForce Experience Software license respectively. Drivers - Download NVIDIA Drivers Option 1: Manually find drivers for my NVIDIA products. Then setup the appropriate package for Ubuntu WSL: Download This download includes the NVIDIA graphics driver and an option to additionally install the GeForce Experience application. If you are a gamer who prioritizes day of launch support for the latest games, patches, and DLCs, choose Game Ready Driver (GRD). Also notice that attempting to install the CUDA toolkit packages straight from the Ubuntu repository (“cuda”, “cuda-11-0”, or “cuda-drivers”) will attempt to install the Linux NVIDIA graphics driver, which is not what you want on WSL 2. Please note: All NVIDIA drivers provide full features and application support for top games and creative applications. Be aware that older versions of CUDA (<=10) don’t support WSL 2. The following commands will install the WSL-specific CUDA toolkit version 11.6 on Ubuntu 22.04 AMD64 architecture. On WSL 2, the CUDA driver used is part of the Windows driver installed on the system, and, therefore, care must be taken not to install this Linux driver as previously mentioned. ![]() Normally, CUDA toolkit for Linux will have the device driver for the GPU packaged with it. You can download the drivers from NVIDIA’s website.
0 Comments
Leave a Reply. |