栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

驱动,cuda, cudnn 安装

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

驱动,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

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/657820.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号