Replies: 1 comment
-
This looks great. Need to be aware that some of these ops are not available in torch < 1.8, at least I couldn't find |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This pytorch module offers a number of stats directly: https://pytorch.org/docs/master/cuda.html#memory-management
list_gpu_processes
will report the total memory used, like nvidia-smi. This seems more convenient and flexible than requiring thatnvidia-smi
is installed and querying these stats via a separate process in this callback: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pytorch_lightning/callbacks/gpu_stats_monitor.pyBeta Was this translation helpful? Give feedback.
All reactions