• yolov5模型训练过程中显卡使用率查询——记录


    yolov5模型训练过程中显卡使用率查询——记录

    vidia-smi
    (base) F:\>
    (base) F:\>nvidia-smi
    Thu Jun  9 14:02:16 2022
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
    |-------------------------------+----------------------+----------------------+
    | 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  On |                  N/A |
    | N/A   56C    P5    26W /  N/A |   2752MiB / 16384MiB |     30%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
    |    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
    |    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
    |    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
    |    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
    |    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
    |    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
    |    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
    |    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
    +-----------------------------------------------------------------------------+
    
    (base) F:\>
    (base) F:\>
    (base) F:\>
    (base) F:\>
    (base) F:\>nvidia-smi
    Thu Jun  9 14:04:01 2022
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
    |-------------------------------+----------------------+----------------------+
    | 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  On |                  N/A |
    | N/A   59C    P5    30W /  N/A |   2874MiB / 16384MiB |     26%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
    |    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
    |    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
    |    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
    |    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
    |    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
    |    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
    |    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
    |    0   N/A  N/A     18512    C+G   ...me\Application\chrome.exe    N/A      |
    |    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
    +-----------------------------------------------------------------------------+
    
    (base) F:\>
    (base) F:\>
    (base) F:\>
    (base) F:\>nvidia-smi
    Thu Jun  9 14:04:17 2022
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
    |-------------------------------+----------------------+----------------------+
    | 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  On |                  N/A |
    | N/A   59C    P3    35W /  N/A |   2872MiB / 16384MiB |     10%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
    |    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
    |    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
    |    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
    |    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
    |    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
    |    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
    |    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
    |    0   N/A  N/A     18512    C+G   ...me\Application\chrome.exe    N/A      |
    |    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
    +-----------------------------------------------------------------------------+
    
    (base) F:\>
    (base) F:\>

    GTX3080,batch size为2,感觉显卡使用率并不高,最多为30%

    ###################

  • 相关阅读:
    Redis安装与配置
    Mysql主从复制
    MySQL的基本使用
    如何理解 python 里面的 for 循环
    我在创业公司的 “云原生” 之旅
    linux 安装 kafka
    数据库性能优化
    Shell 中各种括号的作用
    DNS 配置实例-正反解析-主从同步-分离解析
    DHCP 中继转发配置(ensp 实现)
  • 原文地址:https://www.cnblogs.com/herd/p/16359115.html
Copyright © 2020-2023  润新知