- Upload
mi_gpu_slave_script.py
to your home directory. Upload to one server is enough as the home directory is shared. - Make sure dependencies are installed
pip3 install -r req.txt
- Fill in your private key path in
mi_nus_soc_gpu_status_reader.py
if you are using key pair to authenticate, if not use this line instead(uncomment)
client.connect(f'{host}.comp.nus.edu.sg', username='mingda', password='PASSWORD_HERE')
Now run mi_nus_soc_gpu_status_reader.py
:)
- Multi-thread?
- CLI args?
Thanks!!!
@YipingRuan Thanks to him, the output looks a lot nicer now! 🎉