File size: 694 Bytes
ec1ecb9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/usr/bin/env bash
set -euo pipefail
# Wait for the currently active full controller matrix, then run the direct SaC
# comparison without contending for the dedicated retrieval GPU.
: "${BASELINE_MASTER_PID:?Set to the detached full-eval master PID}"
: "${SERVER_RUN_DIR:?Set to artifacts/servers/<server-run>}"
ROOT="${ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}"
POLL_SECONDS="${POLL_SECONDS:-60}"
RUN_GROUP="${RUN_GROUP:-sac_variants_2000_$(date -u +%Y%m%d_%H%M%S)}"
cd "$ROOT"
while kill -0 "$BASELINE_MASTER_PID" 2>/dev/null; do
sleep "$POLL_SECONDS"
done
export EXPERIMENT="configs/experiments/sac_variants_2000.yaml"
export RUN_GROUP
exec bash scripts/run_eval_2000.sh
|