Training

July 1, 2026 ยท View on GitHub

Training uses the AReaL framework for distributed RL training. All scripts are under scripts/areal/.

AReaL Evaluation (inference only)

Tests the AReaL codepath without gradient updates:

python -m areal.launcher.local \
    scripts/areal/eval.py \
    --config scripts/areal/configs/config_eval.yaml

AReaL RL Training

python -m areal.launcher.local \
    scripts/areal/rl_train.py \
    --config scripts/areal/configs/config_eval.yaml

The same config_eval.yaml can be used for both eval and training. For training-specific options (e.g. filter_uniform_reward, async_training), override on the command line or create a separate training config.

Config

AReaL configs extend the seta-env terminal_env block (same structure as evaluation configs) with AReaL-specific settings (actor, sglang, cluster, etc.). The terminal_env section is identical โ€” see configuration.md for what to change.

Key AReaL-specific fields:

FieldDescription
actor.pathModel to train (HuggingFace path)
cluster.n_gpus_per_nodeGPUs per node
allocation_modeGPU strategy (e.g. sglang:d4p1t1)
train_dataset.pathDataset label or path