Skip to content

Egolas/gpustat-website

Repository files navigation

Monitor website for GPU statistics

Features

  • Show current GPU usage of every server.
    • auto refresh every 5s.
  • Show GPU usage in 24 hours / 1 week / all time

Requirements

  • mysql-server
  • python packages

Deployment

  1. Edit gpu_info.yaml with your actual hosts' and gpus' info
  2. Edit host_names and database_config in app.py (not necessary for reporter.py, in which it's just used for debug)
  3. Edit dirpath in gpustat-website.service and gpustat-website.sh
  4. Set gpustat-website.sh runable,

sudo chmod +x ./gpustat-website.sh

  1. Copy gpustat-website.service to /lib/systemd/system

sudo cp ./gpustat-website.service /lib/systemd/system

  1. Start system service

sudo systemctl start gpustat-website.service

  1. (Optional)Enable system service

sudo systemctl enable gpustat-website.service

TODO

  1. Optimize database, auto gpu-info registration

About

Monitor website for GPU statistics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published