驱动,cuda, cudnn 安装

总体概念

Gpu作为硬件需要驱动,cuda用于加速,cudnn是系统cuda的深度学习小应用,cudatoolkit是pytorch深度学习框架,对系统cuda的适应器

查看版本命令

硬件能否识别

lspci | grep NVIDIA

lspci | grep VGA

gpu驱动命令:cat /proc/driver/nvidia/version

cuda 版本命令 : cat /usr/local/cuda/version.txt

cudnn 版本命令: cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

pytorh 版本:

        import torch

        torch.__version__

        torch.cuda.is_available()

版本匹配

gpu 驱动支持 cuda版本

查看网址:https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions

cuda支持 pytorch 版本

安装

驱动安装

下载地址:NVidia 显卡 驱动程序

安装说明:https://blog.csdn.net/u014797226/article/details/79626693

cuda安装

下载地址:CUDA Toolkit Archive | NVIDIA Developer

https://blog.csdn.net/lihe4151021/article/details/90237681

https://blog.csdn.net/QLULIBIN/article/details/78714596

https://blog.csdn.net/wf19930209/article/details/81879514

https://blog.csdn.net/qq_45049586/article/details/104593173

Cudnn安装

下载地址:https://developer.nvidia.com/rdp/cudnn-archive

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值