当前位置:网站首页>Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
Win10 CUDA CUDNN 安装配置(torch paddlepaddle)
2022-07-31 03:51:00 【狸不凡】
前言
终于,这次把CUDA CUDNN的配置给搞定了,我的显卡是Geforece Nvidia 930MX。
这次记录下配置过程。cuda10.2版本对torch,paddle有良好的支持,所以本次我们安装cuda10.2
一:查看支持cuda10.2的驱动程序
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
cuda 10.2 的驱动程序版本大于等于441.22
二:获取支持自己GPU的驱动程序
https://www.nvidia.cn/geforce/drivers/
根据第一步,我们需要下载的驱动程序大于等于441.22
输入本机型号

搜索查看满足的驱动
下载安装
下载 cuda10.2 和 cudnn
可以在下面官网获取,也可以直接从百度网盘获取
链接:https://pan.baidu.com/s/1W5IjQWDrT0kpmI1fMoapmQ?pwd=if33
提取码:if33
cuda 10.2下载地址
https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal
cudnn 各版本下载地址
https://developer.nvidia.com/rdp/cudnn-archive
解压安装cuda10.2
Update.Core 安装可能报错,直接删除就行

安装时选择自定义安装,然后自行选择安装路径,当然最好直接默认
解压添加cudnn
将解压的cudnn对应文件夹的文件,移动到我们安装的cuda对应的文件夹里面
添加环境变量

三 测试安装
nvcc -V
torch 历史版本
https://pytorch.org/get-started/previous-versions/
torch paddle tensorflow测试是否安装成功
import tensorflow as tf
print(tf.test.is_gpu_available())
print(tf.config.list_physical_devices('GPU'))
import torch
print(torch.cuda.is_available())
print(torch.Tensor(5, 3).cuda())
import paddle
paddle.fluid.install_check.run_check()
paddle.fluid.is_compiled_with_cuda()
结语
到此就基本完成了。
边栏推荐
- 安全20220718
- 安全20220722
- C# 实现PLC的定时器
- The application and practice of mid-to-platform brand advertising platform
- (tree) Last Common Ancestor (LCA)
- [Compilation principle] Design principle and implementation of recursive descent parsing
- [C language] General method of base conversion
- Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
- No qualifying bean of type 问题
- endian mode
猜你喜欢

Just debuted "Fight to Fame", safety and comfort are not lost

Detailed explanation of TCP and UDP

【小土堆补充】Pytorch学习笔记_Anaconda虚拟环境使用

「 每日一练,快乐水题 」1331. 数组序号转换

浅识Flutter 基本组件之CheckboxListTile组件

TCP和UDP详解

Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry

A brief introduction to the CheckboxListTile component of the basic components of Flutter

Recursive query single table - single table tree structure - (self-use)

type_traits metaprogramming library learning
随机推荐
Detailed explanation of TCP (1)
A brief introduction to the CheckBox component of the basic components of Flutter
Smartcom Programming Level 4 - Magic Academy Lesson 6
安全20220715
TCP和UDP详解
RESTful api interface design specification
beforeDestroy与destroyed的使用
【论文阅读】Mastering the game of Go with deep neural networks and tree search
Redis uses sorted set to cache latest comments
组件传值 provide/inject
(Line segment tree) Summary of common problems of basic line segment tree
SIP协议标准和实现机制
How to develop a high-quality test case?
Pytest电商项目实战(上)
C language from entry to such as soil, the data store
[Swift]自定义点击APP图标弹出的快捷方式
Redis 统计用户新增和留存
进程间通信
(线段树) 基础线段树常见问题总结
Safety 20220712