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