Skip to content

entbappy/Setup-NVIDIA-GPU-for-Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published