xuan-luo/kvpath-optimization / KDA-optimization /env /third_party /Megatron-LM /tools /wait_daemon.sh
xuan-luo/kvpath-optimization / KDA-optimization /env /third_party /Megatron-LM /tools /wait_daemon.sh
| # SLURM by default terminates all user processes when the main job process is | |
| # finished. This also immediately terminates inprocess.MonitorProcess and | |
| # prevents it from submitting information to distributed store, and finalizing | |
| # iteration by waiting on termination barrier. | |
| # | |
| # This script waits for all "python" processes launched by the current user to | |
| # finish before terminating the SLURM job. | |
| is_daemon_running() { | |
| pgrep -u $USER "python" > /dev/null | |
| } | |
| wait_daemon() { | |
| while is_daemon_running; do | |
| sleep 1 | |
| done | |
| } | |
Xet Storage Details
- Size:
- 552 Bytes
- Xet hash:
- 2c060be075f59e6c6dcc9e358f6472b26ac2c6b7fe69f93226ebf187261275dc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.