Ubuntu22.04安装CUDA12.1 cuDNN8.9.7 pytorch2.2.2

当前安装的电脑配置:

电脑名称:暗影精灵5

系统名称:Ubuntu22.04.4 LTS

操作系统类型:64位

内存:8.0Gib

处理器:Intel®Core™i7-9750H CPU @ 2.60GHz x 12

显卡:NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] Mesa I...

安装前准备:需要安装对应的NVIDIA驱动程序、配置CUDA依赖环境g++ gcc make

sudo apt-get install vim g++ gcc make python3-pip

需要检查是否安装了NVIDIA驱动程序,如果未安装下载安装。

Download the latest official NVIDIA drivers:NVIDIA驱动程序

1. 安装CUDA

1.1 打开下面官方链接下载CUDA

CUDA Toolkit Archive:CUDA工具包存档

1.1.1 选择CUDA Toolkit 12.1.0(可以根据自己的需要选择对应的版本)

Ubuntu22.04安装CUDA12.1 cuDNN8.9.7 pytorch2.2.2_第1张图片

1.1.2 根据自己的配置

你可能感兴趣的:(linux)