windows下安装cuda+cudnn+python人工智能环境

安装python3

https://www.python.org/downloads/windows/
https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe

以Tesla T4显卡为例

安装显卡驱动

https://www.nvidia.cn/content/DriverDownloads/confirmation.php?url=/tesla/538.33/538.33-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe&lang=cn&type=Data%20Center%20/%20Tesla

安装cuda

CUDA Toolkit: https://developer.nvidia.com/cuda-11.1.0-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal

安装cudnn

安装说明:https://docs.nvidia.com/deeplearning/cudnn/installation/windows.html
下载页面:
https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/windows-x86_64/
https://developer.nvidia.com/cudnn-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local

cudnn的python包
pip install nvidia-cudnn-cu11
或者:
pip install -i https://mirrors.cloud.tencent.com/pypi/simple/ nvidia-cudnn-cu11==8.9.5.29

  • 6
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值