AsianPlayer/TriDrive / code /train /run_c4_lat0_after.sh
AsianPlayer's picture
download
raw
855 Bytes
#!/usr/bin/env bash
# cwm3/train/run_c4_lat0_after.sh — C4 lane (pre-registration docs/decisions.md 2026-09-17T19:44:28Z): start the lam = 0 control queue (train/queue_r2_c4_C.txt) only after the
# lam > 0 queues A / B have finished (their run_queue_cmds logs contain QUEUE DONE or QUEUE EXHAUSTED), with the disk gate MIN_DISK_GB (default 30 GB = owner rule 2026-09-17T19:26:58Z; originally 63 GB; a joint run writes ~2.9 GB).
set -u
cd "$(dirname "$0")/.."
A_LOG="$1"; B_LOG="$2"
while ! { grep -q "QUEUE DONE\|QUEUE EXHAUSTED" "$A_LOG" 2>/dev/null && grep -q "QUEUE DONE\|QUEUE EXHAUSTED" "$B_LOG" 2>/dev/null; }; do sleep 120; done
echo "[$(date -u +%H:%M:%SZ)] A / B finished -> starting queue C (lam 0) with MIN_DISK_GB=${MIN_DISK_GB:-30}"
MIN_DISK_GB="${MIN_DISK_GB:-30}" exec bash train/run_queue_cmds.sh r2_c4_C train/queue_r2_c4_C.txt 28 14 3

Xet Storage Details

Size:
855 Bytes
·
Xet hash:
113a1f8cb794e06156b07624a22a04582841e53fae34a5e72a2f49b284097076

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.