Install NVIDIA GPU Driver

 


AI Made Simple: User-Friendly, Step-by-Step NVIDIA GPU Driver Tutorials.
This article is a comprehensive NVIDIA GPU driver installation guide, enriched with step-by-step instructions and detailed visuals. Covering CUDA, cuDNN, and related configurations, it goes beyond deployment to include testing procedures, making it an essential read for anyone, from AI and computer vision beginners to seasoned experts.

Installing the NVIDIA CUDA Toolkit

Download and install the CUDA Toolkit (Version 11.8).


🖊️Note
Be sure to select the correct version of your operating system. This guide uses Windows 11 as an example.

Installing the NVIDIA cuDNN

1. Go to the cuDNN Archive and download the version highlighted in the red box.

2. Open the section titled Download cuDNN v8.9.7 (December 5th, 2023), for CUDA 11.x, and select the file as shown in the red box.


3. You must sign in to your NVIDIA Account to download. If you don’t have one, please register in a new tab.


4. After downloading, you will get the file: 
    cudnn-windows-x86_64-8.9.7.29_cuda11-archive.zip


5. Locate the following path:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8


6. Extract the contents of the ZIP file and copy the following folders into the CUDA directory above: bin, include, lib
These should be merged into the corresponding folders inside:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8

Verifying the NVIDIA Driver Installation

Open the Windows Command Prompt and type the following command to check if the GPU is detected by the driver:

nvidia-smi

If successful, you will see an output like the following:



Then, enter the following command to confirm the CUDA compiler (nvcc) is correctly installed:

nvcc -V

留言

這個網誌中的熱門文章

YOLOv8 Tutorial

LabelImg Tutorial