用于在 GPU 上监视 CUDA 活动的类顶级实用程序 [英] A top-like utility for monitoring CUDA activity on a GPU
本文介绍了用于在 GPU 上监视 CUDA 活动的类顶级实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试监视使用 CUDA 和 MPI 的进程,有什么方法可以做到这一点,例如命令top"但它也监控 GPU?
解决方案
我发现
I'm trying to monitor a process that uses CUDA and MPI, is there any way I could do this, something like the command "top" but that monitors the GPU too?
解决方案
I find gpustat very useful. In can be installed with pip install gpustat
, and prints breakdown of usage by processes or users.
这篇关于用于在 GPU 上监视 CUDA 活动的类顶级实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文