ubuntu22.04降级安装CUDA11.3

环境:主机x64的ubuntu22.04,原有CUDA12.1,但是现在需要CUDA11.3,本篇文章介绍步骤。

一、下载CUDA11.3的run文件

下载网址:https://developer.nvidia.com/cuda-11-3-1-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04

其他版本去这里找:https://developer.nvidia.com/cuda-toolkit-archive

下载完成后会有:cuda_11.3.1_465.19.01_linux.run

二、运行run文件

javascript 复制代码
sudo chmod +x cuda_11.3.1_465.19.01_linux.run
sudo ./cuda_11.3.1_465.19.01_linux.run

出现CUDA的安装页面:continue→输入accept→取消驱动安装→等待安装完成

几个步骤具体图形化的讲解可以看这篇文章:https://blog.csdn.net/m0_37605642/article/details/114059682

完成标志:/usr/local下出现cuda-11.3

三、默认配置(为了使用)

javascript 复制代码
export CUDA_HOME=/usr/local/cuda-11.3

配置完成!

参考:
https://blog.csdn.net/qq_43673118/article/details/117966752

相关推荐
笑脸惹桃花4 天前
50系显卡训练深度学习YOLO等算法报错的解决方法
深度学习·算法·yolo·torch·cuda
weiwei228448 天前
NVIDIA Kernel级性能分析工具Nsight Compute入门详解
gpu·cuda·nsight compute
山烛18 天前
深度学习:CUDA、PyTorch下载安装
人工智能·pytorch·python·深度学习·cuda
伊织code19 天前
PyTorch API 2
pytorch·api·cpu·cuda·微分·autograd
探模之翼20 天前
利用 Windows GPU 在 WSL2 中安装并配置 CUDA Toolkit
cuda·wsl2
weiwei2284421 天前
NVIDIA系统级性能分析工具Nsight Systems入门详解
gpu·cuda·nsight systems
charlee441 个月前
在本地部署Qwen大语言模型全过程总结
大模型·cuda·qwen·量化
weiwei228441 个月前
CUDA编程初探
gpu·cuda
www.021 个月前
在ubuntu服务器下安装cuda和cudnn(笔记)
linux·ubuntu·cuda·cudnn·服务器环境
ouliten1 个月前
cuda编程笔记(13)--使用CUB库实现基本功能
笔记·cuda