A web interface across multiple lab server nodes (modify from wookayin/gpustat-web).
- Add monitored server nodes in the configuration file
config.ini
(refer templateconfig.ini.template
).
hosts={
'NODE_NAME': 'USERNAME@IP:PORT'
}
- Make sure ssh can work under a proper authentication scheme such as SSH key (e.g.
id-rsa
).
ssh-copy-id -pPORT USERNAME@IP
- Install
gpustat
in each monitored server nodes.
pip install gpustat
which gpustat
sudo cp -r GPUSTAT_PATH /usr/local/bin/
- Start
gpustat-web-plus
web service in the master server node.
pip install -r requirements.txt
bash run.sh