# GRPO training

Source: https://docs.surogate.ai/engine/examples/grpo/grpo/

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](/engine/examples/recipes/grpo/) covers colocation,
separate-process launches, evaluation, metrics and resume. Other workflows cover [RULER judge rewards](/engine/examples/recipes/ruler/) and
[multi-turn on-policy distillation](/engine/examples/recipes/turnopd/).

The [reverse-text SFT recipe](https://github.com/invergent-ai/surogate/blob/main/examples/sft/reverse-text-qwen3.yaml) 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)](/engine/guides/rl-training/) explains the three-part architecture and each launch mode.
