zoukankan      html  css  js  c++  java
  • 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 -q you 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 for Windows 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://zhuanlan.zhihu.com/p/29005381





  • 相关阅读:
    实验三
    第六七章读后感
    0415评论
    0414-复利计算
    实验8 201306114104彭得源
    实验7 201306114104彭得源
    实验6 201306114104彭得源
    android实验五201306114104彭得源
    android实验四201306114104彭得源
    实验五 04彭得源
  • 原文地址:https://www.cnblogs.com/jins-note/p/9636805.html
Copyright © 2011-2022 走看看