当前位置:网站首页>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
边栏推荐
- anconda下载+添加清华+tensorflow 安装+No module named ‘tensorflow‘+KernelRestarter: restart failed,内核重启失败
- [groovy] XML serialization (use markupbuilder to generate XML data | set XML tag content | set XML tag attributes)
- Classic CTF topic about FTP protocol
- 几百行代码实现一个 JSON 解析器
- STM32按键消抖——入门状态机思维
- [Chongqing Guangdong education] Chongqing Engineering Vocational and Technical College
- 如何制作自己的機器人
- Arduino六足机器人
- 多线程与高并发(8)—— 从CountDownLatch总结AQS共享锁(三周年打卡)
- Calculate sha256 value of data or file based on crypto++
猜你喜欢
Idea remotely submits spark tasks to the yarn cluster
XML配置文件
notepad++正則錶達式替換字符串
Leetcode 450 deleting nodes in a binary search tree
Illustrated network: the principle behind TCP three-time handshake, why can't two-time handshake?
Problems and solutions of converting date into specified string in date class
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
如何利用Flutter框架开发运行小程序
cf:H. Maximal AND【位运算练习 + k次操作 + 最大And】
[groovy] JSON serialization (jsonbuilder builder | generates JSON string with root node name | generates JSON string without root node name)
随机推荐
Browser reflow and redraw
Classic CTF topic about FTP protocol
[Online gadgets] a collection of online gadgets that will be used in the development process
Atcoder beginer contest 258 [competition record]
详细页返回列表保留原来滚动条所在位置
如何利用Flutter框架开发运行小程序
Arduino hexapod robot
Promise
NLP text processing: lemma [English] [put the deformation of various types of words into one form] [wet- > go; are- > be]
时间戳的拓展及应用实例
devkit入门
PHP determines whether an array contains the value of another array
孤勇者
如何制作自己的机器人
Introduction of motor
STM32 configuration after chip replacement and possible errors
看抖音直播Beyond演唱会有感
Codeforces round 804 (Div. 2) [competition record]
Model analysis of establishment time and holding time
2022-02-13 work record -- PHP parsing rich text