Download harness/scripts/serve_selected.sh from agentic-ptb/sol-max-record: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/serve_selected.sh
- Command line
-
hf download hf://agentic-ptb/sol-max-record/harness/scripts/serve_selected.sh
-
curl -L -o serve_selected.sh https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/serve_selected.sh
487 Bytes
| set -euo pipefail | |
| workspace="/mnt/pvc/users/simon/agentptb/runs/sol-max-s1/workspace" | |
| [[ -f "$workspace/submission/model/STABLE" ]] | |
| if curl --fail --silent http://127.0.0.1:8200/health >/dev/null 2>&1; then | |
| echo "port 8200 already has a model server" >&2 | |
| exit 1 | |
| fi | |
| cd /root/work/a/prime-rl | |
| exec env \ | |
| CUDA_VISIBLE_DEVICES=4,5,6,7 \ | |
| TMPDIR=/tmp/agentptb-s1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| uv run --no-sync inference @ "$workspace/configs/inference-selected.toml" | |