Python gpu 显卡小工具 gpu

安装

pip install gpustat

或者 换源

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade gpustat

使用

gpustat -cpu

或者

watch --color -n1 gpustat -cpu

显示输出
在这里插入图片描述

posted @ 2018-10-06 22:56  vercont  阅读(1263)  评论(0编辑  收藏  举报