Training uses the AReaL framework for distributed RL training. All scripts are under scripts/areal/.
Tests the AReaL codepath without gradient updates:
python -m areal.launcher.local \
scripts/areal/eval.py \
--config scripts/areal/configs/config_eval.yamlpython -m areal.launcher.local \
scripts/areal/rl_train.py \
--config scripts/areal/configs/config_eval.yamlThe 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.
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:
| Field | Description |
|---|---|
actor.path |
Model to train (HuggingFace path) |
cluster.n_gpus_per_node |
GPUs per node |
allocation_mode |
GPU strategy (e.g. sglang:d4p1t1) |
train_dataset.path |
Dataset label or path |