当前位置:网站首页>ubantu 查看cudnn和cuda的版本
ubantu 查看cudnn和cuda的版本
2022-07-06 00:44:00 【@BangBang】
1. cudnn版本
先进入 /usr 目录下
1 cd /usr
在该目录下搜索 cudnn.h 或者 cudnn_version.h 文件
2 sudo find -name cudnn.h
搜索结果如下
./include/cudnn.h
然后执行如下命令
3 cat ./include/cudnn.h | grep CUDNN_MAJOR -A 2
结果如下:
对应的cudnn
版本为7.6.4
2. 查看cuda版本
1.在命令行输入下面命令,查看version.txt的内容 注意cat后面有空格
cat /usr/local/cuda/version.txt
2.还有一种可以查看GPU占用情况
nvidia-smi
这种同时也可以查看当前GPU的版本情况
3.如果安装好cudatoolkit的话也可以用下面指令查看当前cuda版本
nvcc -V
边栏推荐
- LeetCode 6005. The minimum operand to make an array an alternating array
- Codeforces round 804 (Div. 2) [competition record]
- [Online gadgets] a collection of online gadgets that will be used in the development process
- Classic CTF topic about FTP protocol
- Pointer pointer array, array pointer
- MIT博士论文 | 使用神经符号学习的鲁棒可靠智能系统
- Yolov5, pychar, Anaconda environment installation
- Spark SQL null value, Nan judgment and processing
- XML配置文件
- LeetCode 斐波那契序列
猜你喜欢
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
Intensive learning weekly, issue 52: depth cuprl, distspectrl & double deep q-network
猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)
Illustrated network: the principle behind TCP three-time handshake, why can't two-time handshake?
Ffmpeg captures RTSP images for image analysis
从 1.5 开始搭建一个微服务框架——调用链追踪 traceId
After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?
MySQL storage engine
I'm interested in watching Tiktok live beyond concert
随机推荐
RAID disk redundancy queue
MIT博士论文 | 使用神经符号学习的鲁棒可靠智能系统
[Online gadgets] a collection of online gadgets that will be used in the development process
Classic CTF topic about FTP protocol
Intranet Security Learning (V) -- domain horizontal: SPN & RDP & Cobalt strike
Problems and solutions of converting date into specified string in date class
SQLServer连接数据库读取中文乱码问题解决
Uniapp development, packaged as H5 and deployed to the server
LeetCode 1189. Maximum number of "balloons"
【线上小工具】开发过程中会用到的线上小工具合集
I'm interested in watching Tiktok live beyond concert
Date类中日期转成指定字符串出现的问题及解决方法
Set data real-time update during MDK debug
Browser reflow and redraw
Folding and sinking sand -- weekly record of ETF
Calculate sha256 value of data or file based on crypto++
Free chat robot API
Getting started with devkit
NLP text processing: lemma [English] [put the deformation of various types of words into one form] [wet- > go; are- > be]
Atcoder beginer contest 258 [competition record]