1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 22:01:55 +00:00
YAO-agent/bootstrap.sh

12 lines
222 B
Bash
Executable File

#!/usr/bin/env bash
# TODO: monitor the processes
# run nvidia-smi in background to speed up the query and reduce CPU load (why?)
nvidia-smi daemon
python3 /root/monitor.py &
python3 /root/executor.py &
sleep infinity