Download autoreload.sh from AjayRangoji/AR: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/AjayRangoji/AR/resolve/main/autoreload.sh
- Command line
-
hf download hf://AjayRangoji/AR/autoreload.sh
-
curl -L -o autoreload.sh https://huggingface.co/AjayRangoji/AR/resolve/main/autoreload.sh
411 Bytes
| # While a memory leak is suspected: ask training to restart (after a checkpoint, same nodes) | |
| # every 6 hours, which frees the memory the training programs have built up. | |
| # Start: nohup ./autoreload.sh >> logs/autoreload.log 2>&1 & Stop: pkill -f autoreload.sh | |
| cd /fsx/ajay-stu/AR | |
| while true; do | |
| sleep $((6 * 3600)) | |
| touch logs/RELOAD && echo "$(date -u) RELOAD requested (memory reset)" | |
| done | |