agentic-search / scripts /queue_sac_variants_eval.sh
minhhien0811's picture
Publish code and Fair Protocol 500 results
ec1ecb9 verified
Raw
History Blame Contribute Delete
694 Bytes
#!/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