Download harness/scripts/serve_side.sh from agentic-ptb/opus-max-record: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/agentic-ptb/opus-max-record/resolve/main/harness/scripts/serve_side.sh
- Command line
-
hf download hf://agentic-ptb/opus-max-record/harness/scripts/serve_side.sh
-
curl -L -o serve_side.sh https://huggingface.co/agentic-ptb/opus-max-record/resolve/main/harness/scripts/serve_side.sh
581 Bytes
| set -euo pipefail | |
| MODEL="${1:?}"; PORT="${2:-8010}"; GPU="${3:-3}"; UTIL="${4:-0.30}" | |
| export CUDA_VISIBLE_DEVICES=$GPU | |
| export VLLM_CACHE_ROOT=/var/lib/agentptb-cache/a/tmp/vllm | |
| export TMPDIR=/var/lib/agentptb-cache/a/tmp | |
| export VLLM_ENGINE_READY_TIMEOUT_S=2400 | |
| exec /root/work/a/prime-rl/.venv/bin/vllm serve "$MODEL" \ | |
| --served-model-name policy --host 0.0.0.0 --port "$PORT" \ | |
| --enable-auto-tool-choice --tool-call-parser qwen3_coder \ | |
| --limit-mm-per-prompt '{"image":0,"video":0}' \ | |
| --max-model-len 65536 --gpu-memory-utilization "$UTIL" --trust-remote-code | |