XuehaiPan / nvitop

An interactive NVIDIA-GPU process viewer and beyond, the one-stop solution for GPU process management.
https://nvitop.readthedocs.io
Apache License 2.0
4.72k stars 148 forks source link

fix(api/device): use recent timestamp for GPU process utilization query #85

Closed XuehaiPan closed 1 year ago

XuehaiPan commented 1 year ago

Issue Type

Description

Remove the extra 2s timestamp margin for GPU process utilization. Such a margin may cause the API returns the average utilization rather than the instant values.

Motivation and Context

Resolves #83