This example hosts an Eval Protocol remote rollout server in a Runloop Devbox.
pip install "eval-protocol[runloop]"
export RUNLOOP_API_KEY=...
export FIREWORKS_API_KEY=...Create a Runloop blueprint that contains this repository and its Python dependencies, then set RUNLOOP_BLUEPRINT_ID:
eval "$(python examples/runloop_remote_rollout/create_blueprint.py)"
pytest examples/runloop_remote_rollout/test_eval.pyThe blueprint ID matters because RunloopRolloutProcessor uses it to create a Devbox that already has this repository and eval-protocol[runloop] installed. If you already have a suitable running Devbox, you can pass devbox_id to RunloopRolloutProcessor instead and skip RUNLOOP_BLUEPRINT_ID.
The processor starts:
python -m uvicorn examples.runloop_remote_rollout.server:app --host 0.0.0.0 --port 8000The server receives POST /init, performs a chat completion through the Fireworks tracing base URL provided by Eval Protocol, and logs rollout completion using Fireworks tracing metadata.