Skip to content

BitterOcean/pytorch-learning

Repository files navigation

pytorch-learning

Just try to learn pytorch via Codemy.com YT channel

Transformer: Aladdin Persson YT channel

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++

Note! Linux users skip this step (because you already have g++ compiler)

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

Just to learn pytorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published