Skip to content
SurogateSurogateDocs
↑↓ to move↵ to openesc to close

GRPO training

The maintained example trains Qwen3-0.6B with reinforcement learning against the local markdown-table-qa reward environment. The same configs run on separate GPUs for inference and training, or on one shared GPU:

bash
surogate grpo --train examples/grpo/train.yaml --infer examples/grpo/infer.yaml \
--orch examples/grpo/orch.yaml --infer-gpus 0 --trainer-gpus 1

The GRPO example covers colocation, separate-process launches, evaluation, metrics and resume. Other workflows cover RULER judge rewards and multi-turn on-policy distillation.

The reverse-text SFT recipe is a separate demonstration of split prompt/completion columns and automatic adapter merging; you don’t need it for this GRPO task.

Next: RL Training (GRPO) explains the three-part architecture and each launch mode.