← Open Source
entbappy

Setup-NVIDIA-GPU-for-Deep-Learning

entbappy/Setup-NVIDIA-GPU-for-Deep-Learning on GitHub: Tutorials, Getting started.

TutorialsGetting started
Open on GitHub
Momentum
+0stars in 24 hours0.0%
613
Stars
269
Forks
+0
This week
1
Contributors
Created 2024-07-13 · Updated 2026-10-08 · #15974 today
Top developers
entbappy
README

Setup-NVIDIA-GPU-for-Deep-Learning

Step 1: NVIDIA Video Driver

You should install the latest version of your GPUs driver. You can download drivers here:

Step 2: Visual Studio C++

You will need Visual Studio, with C++ installed. By default, C++ is not installed with Visual Studio, so make sure you select all of the C++ options.

Step 3: Anaconda/Miniconda

You will need anaconda to install all deep learning packages

Step 4: CUDA Toolkit

Step 5: cuDNN

Step 6: Install PyTorch

Finally run the following script to test your GPU

import torch

print("Number of GPU: ", torch.cuda.device_count())
print("GPU Name: ", torch.cuda.get_device_name())


device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
print('Using device:', device)
Nearby in the ranking
Similar items