Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nebrelbug/gom
CLI tool to monitor GPU usage across Docker processes
https://github.com/nebrelbug/gom
cli docker gpu pip python
Last synced: 3 days ago
JSON representation
CLI tool to monitor GPU usage across Docker processes
- Host: GitHub
- URL: https://github.com/nebrelbug/gom
- Owner: nebrelbug
- License: mit
- Created: 2023-09-14T22:20:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-19T20:43:26.000Z (about 1 year ago)
- Last Synced: 2024-12-08T16:12:03.939Z (20 days ago)
- Topics: cli, docker, gpu, pip, python
- Language: Python
- Homepage: https://pypi.org/project/gom/
- Size: 37.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gom
`gom` is a CLI tool that displays a human-readable table with GPU usage information. Think `nvidia-smi`, but minimalist and pretty.
It also shows per-container GPU usage information if Docker is installed.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install `gom`.
## Usage
`gom show` displays a table with GPU usage information.
`gom watch` displays a table with GPU usage information and updates it every second.
## Screenshots
Compare the output of `gom show` and `nvidia-smi`. I hope you'll agree that `gom` produces more clear and helpful output (ex. it breaks usage down across the 4 running Docker containers), while `nvidia-smi` is long and complex (I couldn't even screenshot the whole thing).
![gom show image](https://github.com/nebrelbug/gom/assets/25597854/367004c2-8729-491d-bff4-783a145fa7bb)
![nvidia-smi image](https://github.com/nebrelbug/gom/assets/25597854/80380be6-b7d2-43c0-b10c-07267b85613e)
## Troubleshooting
You may need to install a different version of `pynvml` depending on your CUDA version.