一、安装cuda 11.3
dxdiag
有独立显卡,支持安装。
1.1 download cuda 11.3
1.2 双击解压
Installed:
- Nsight Monitor
Not Installed:
- Nsight for Visual Studio 2019
Reason: VS2019 was not found
- Nsight for Visual Studio 2017
Reason: VS2017 was not found
- Integrated Graphics Frame Debugger and Profiler
Reason: see https://developer.nvidia.com/nsight-vstools
- Integrated CUDA Profilers
Reason: see https://developer.nvidia.com/nsight-vstools
1.3 测完安装是否成功
nvidia-smi
二、安装Anaconda
2.1 下载安装
2.2 查看python版本
python --version
三、安装Pytorch
去pytorch.org下载它的GPU版本:https://pytorch.org/
3.1 安装
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
安装完成后测试一下,cuda 安装是否成功
3.2 安装jupyter d2l包
pip isntall jupyter d2l
3.3 启动jupyter
jupyter notebook
文章出处登录后可见!
已经登录?立即刷新