vsoch / watchme

Reproducible watchers for research
https://vsoch.github.io/watchme/
Mozilla Public License 2.0
851 stars 32 forks source link

[gpu monitor] #43

Closed vsoch closed 4 years ago

vsoch commented 5 years ago

The metrics provided by psutil (I believe) are fairly limited to CPU. There should be some reasonable way to find a library that can support GPU (and add a boolean for the user to request gpu=True). A user on the Singularity slack suggested https://github.com/coraxx/netdata_nv_plugin#installation-example, and please share any similar libraries if you think of them.

vsoch commented 5 years ago

Another suggestion - parses nvidia-smi directly https://github.com/anderskm/gputil

vsoch commented 5 years ago

This one is provided by nvidia - might be a better option (I don't see subprocess) https://github.com/jonsafari/nvidia-ml-py