← 开源
entbappy

Setup-NVIDIA-GPU-for-Deep-Learning

TutorialsGetting started
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
613
Star
269
Fork
+0
本周
1
贡献者
创建于 2024-07-13 · 更新于 2026-10-08 · 今日第 15974 名
主要开发者
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)
排名相邻
同类项目