Guide to Setting Up Your GPU for More Efficient Censoring (Patreon)
Content
Step 1: Install NVIDIA Graphics Driver
First and foremost, you need to keep your graphics driver up to date.
Go to the NVIDIA Driver Download Page:
Search for and Download Your Driver:
Select your graphics card model and operating system (e.g., Windows 11) and click Search.
Download the latest version of the 'Game Ready Driver' or 'Studio Driver'.
During installation, selecting Custom (Advanced) -> Perform a clean installation is recommended as it can help prevent issues by removing previous driver files.
Step 2: Install CUDA Toolkit 11.8
After installing the driver, install the version of the CUDA Toolkit that matches the application's ONNX Runtime.
Go to the CUDA Toolkit 11.8 Download Page:
Select Installation Options:
Choose the options that match your operating system in the following order:
Operating System: Windows
Architecture: x86_64
Version: 11 (or 10)
Installer Type: exe (local)
Download and Install:
Click the Download button to get the installer file (approximately 2.9 GB).
Run the installer and choose the Express (Recommended) installation option when prompted. This is the simplest and safest method, as it will automatically register the necessary environment variables (like CUDA_PATH).
Step 3: Add the cuDNN Library
cuDNN must be installed by manually copying files.
Go to the cuDNN Download Page:
An NVIDIA Developer account is required to log in.
Select Version and Download:
Find the entry for Download cuDNN v8.5.0 (August 8th, 2022), for CUDA 11.x in the list.
Click the Local Installer for Windows (Zip) link for that entry to download the archive.
Copy and Paste Files:
Unzip the downloaded file (cudnn-windows-x86_64-8.5.0.96_cuda11-archive.zip).
Copy the three folders inside (bin, include, and lib).
Navigate to your CUDA Toolkit installation directory. (The default path is below)
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
Paste the three copied folders directly into this directory. If prompted, choose to "replace the files in the destination."
Step 4: Verify Installation (Optional)
Restart your computer.
Open Command Prompt (cmd) and type nvidia-smi. Check that your graphics card information, driver version, and CUDA version are displayed correctly.
Type nvcc --version. Check that the CUDA compiler version (11.8) is displayed.
Once you have completed these steps, the application will be ready to fully recognize CUDA and deliver the best performance through GPU acceleration.