jonghwanhyeon / gpugpu

gpugpu shows current statistics of GPUs and memory usage by running containers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpugpu

Screenshot: docker run --rm --gpus=all --pid=host --env DOCKER_HOST=unix://tmp/docker.sock --volume /var/run/docker.sock:/tmp/docker.sock:ro ghcr.io/jonghwanhyeon/gpugpu

Do you want to know which docker containers are currently using GPUs? gpugpu shows current statistics of GPUs and memory usage by running containers.

Usage

To run it:

$ docker run \
        --rm \
        --tty \
        --gpus=all \
        --pid=host \
        --env DOCKER_HOST=unix://tmp/docker.sock \
        --volume /var/run/docker.sock:/tmp/docker.sock:ro \
        ghcr.io/jonghwanhyeon/gpugpu

Acknowledgments

Reporting formats are inspired by gpustat

About

gpugpu shows current statistics of GPUs and memory usage by running containers.


Languages

Language:Python 86.6%Language:Dockerfile 13.4%