1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 13:51:56 +00:00
YAO-agent/bootstrap.sh

12 lines
222 B
Bash
Raw Normal View History

2019-03-12 08:28:04 +00:00
#!/usr/bin/env bash
2019-04-12 08:54:33 +00:00
# TODO: monitor the processes
2019-03-12 08:28:04 +00:00
2019-04-24 07:14:01 +00:00
# run nvidia-smi in background to speed up the query and reduce CPU load (why?)
nvidia-smi daemon
2019-04-13 11:39:29 +00:00
python3 /root/monitor.py &
2019-03-12 08:28:04 +00:00
2019-04-15 08:15:08 +00:00
python3 /root/executor.py &
2019-04-12 08:54:33 +00:00
sleep infinity