Files
trinity-rl/serving/judge/setup.sh
T
carsten 84d7fe4166 Trinity-Mini RL: envs, production recipe, and run scripts
Migrated from the rl-toolkit snapshot deployed for the 2026-09-15 production
run (toolkit e191cf1 plus uncommitted changes). PRIME-RL is now a submodule on
dphn/prime-rl@trinity; the v0 envs, parity tests, OPD experiment, and old
configs are not carried over.
2026-10-14 12:39:23 +00:00

12 lines
556 B
Bash
Executable File

#!/usr/bin/env bash
# Install vLLM, nginx and the pinned Gemma judge on a judge host.
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y nginx tmux curl ca-certificates gettext-base
command -v uv >/dev/null || curl -LsSf https://astral.sh/uv/0.11.6/install.sh | sh
uv venv --python 3.12 /opt/trinity-judge-venv
uv pip install --python /opt/trinity-judge-venv/bin/python 'vllm==0.29.0' aiohttp
/opt/trinity-judge-venv/bin/hf download google/gemma-4-26B-A4B-it \
--revision 4d7ae4984b7db7de8f8457170b3f1a419ee76d52