查看电脑cuda版本命令

2022-09-20  本文已影响0人  雨天柒毫米

查看资料推荐的命令是:nvidia -smi\color{red}{中间有空格}
但电脑会报错:

'nvidia' 不是内部或外部命令,也不是可运行的程序或批处理文件

经过查阅得知,高版本的CUDA没有那个文件夹NVSMI了,直接在命令行输入:nvidia-smi\color{red}{注意:中间没有空格}

Wed Sep 21 15:03:15 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 516.94       Driver Version: 516.94       CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   49C    P0    24W /  N/A |      0MiB /  6144MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
上一篇下一篇

猜你喜欢

热点阅读