pcmt-artifact / scripts /queue_benchmark_after_pids.sh
Lightcap's picture
Add files using upload-large-folder tool
9fc0ed7 verified
Raw
History Blame Contribute Delete
348 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd /workspace/pcmt
mkdir -p runs
source /venv/main/bin/activate || true
for wait_pid in "$@"; do
if [ -z "${wait_pid}" ]; then
continue
fi
while kill -0 "${wait_pid}" 2>/dev/null; do
echo "[followup] waiting for pid=${wait_pid}"
sleep 60
done
done
bash scripts/run_long_benchmark_gpu.sh