File size: 319 Bytes
d880728
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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