windows如何查看nvidia显卡(GPU)的利用率和温度
windows如何查看nvidia顯卡(GPU)的利用率和溫度
nvidia-smi
只要在文件夾C:Program FilesNVIDIA CorporationNVSMI里找到文件nvidia-smi.exe,把該文件拖到命令提示符窗口(win+R,再輸入‘CMD’進入),就可以顯示關于GPU的信息,如下圖所示:
Windows 上不顯示每個程序顯存占用 N/A nvidia-smi
主要原因是這個功能在顯卡顯示畫面時不能用Not available in WDDM driver model
If you perform the following :nvidia-smi -qyou will see the following:
Processes
Process ID : 6564
Type : C+G
Name : C:Windowsexplorer.exe
Used GPU Memory : Not available in WDDM driver model
Not available in WDDM driver model => WDDM stand forWindows Display Driver Model. You can switch to TCC and obtain the information with the command:nvidia-smi -dm 1, however this operation can only performed if you do not have any display attached to the GPU. So... It's mostly impossible...
By the way, don't worry about a high memory usage, Tensorflow reserve as much GPU memory as it can to speed up its processes. If you prefer a finer grained control on the memory taken use the following (it may slow down a little bit your computations):
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
sess = tf.Session(config=config)
You can create a dual boot on Ubuntu or just forget about this.
來源:https://stackoverflow.com/questions/44227767/nvidia-smi-does-not-display-memory-usagehttps://zhuanlan.zhihu.com/p/29005381
來自為知筆記(Wiz)
總結
以上是生活随笔為你收集整理的windows如何查看nvidia显卡(GPU)的利用率和温度的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 论游戏电脑CPU和GPU之搭配
- 下一篇: 简道云--公式与函数的使用教程