Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacenkow/gpu-sentry
Flask-based package for monitoring utilisation of nVidia GPUs.
https://github.com/jacenkow/gpu-sentry
flask gpu nvidia-smi
Last synced: 6 days ago
JSON representation
Flask-based package for monitoring utilisation of nVidia GPUs.
- Host: GitHub
- URL: https://github.com/jacenkow/gpu-sentry
- Owner: jacenkow
- License: mit
- Created: 2019-02-03T18:32:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T11:58:08.000Z (almost 6 years ago)
- Last Synced: 2024-08-02T06:03:39.454Z (4 months ago)
- Topics: flask, gpu, nvidia-smi
- Language: Python
- Homepage:
- Size: 79.1 KB
- Stars: 155
- Watchers: 12
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpu-sentry
Flask-based package for monitoring utilisation of nVidia GPUs.![Monitor](img/monitor.png)
## Motivation
Instead of checking each of your machines with `nvidia-smi` command, a client
running on the machines is sending periodically statistics about GPU memory
utilisation. The central server is collecting the requests and displays them on
a single website.## Installation
Run `pip install -e .` to install all the dependencies and the package itself.## Configuration
Most of the settings can be found in `config.py`.`CLIENT_TIMEOUT` allows to set how often a client, i.e. the GPU machine sends
statistics to the central server. You can alter the value with the amount of
seconds you wish to set.`PERMIT_CLIENTS` has two fold purpose, first the keys are used to filter out
machines which will be displayed on the website, i.e. we permit only machines
with the specified `hostname`s, and the corresponding values point to display
names.## Running
Currently the package does not work as a background process so please use
`screen`, `tmux` or `wsgi`.To run the package as client, i.e. on a GPU machine run
```
python cli.py -m client
```or on the central server execute
```
python cli.py -m server
```