Files
prime-rl/configs/elastic/rl.toml
T
Florian BrandandGitHub 5f7e3ffcaa
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
chore: migrate environment configs to V1 (#3058)
2026-07-17 15:34:42 +02:00

47 lines
1.0 KiB
TOML

# Alphabet sort RL with elastic inference pool (no inference process started by rl).
# Start the inference server manually first, then run: uv run rl @ examples/alphabet_sort/rl_elastic.toml
# The orchestrator discovers servers via DNS (hostname) and only uses ready ones.
# Omitting [inference] means inference = None, so the rl entrypoint will not start an inference process.
max_steps = 200
seq_len = 2048
[ckpt]
[model]
name = "Qwen/Qwen3-4B-Instruct-2507"
[wandb]
project = "alphabet-sort"
name = "alphabet-sort-elastic"
[trainer.model]
impl = "auto"
[trainer.model.ac]
freq = 1
[trainer.model.lora]
rank = 32
alpha = 64
[trainer.optim]
lr = 1e-5
[orchestrator]
batch_size = 512
group_size = 8
[orchestrator.train.sampling]
max_completion_tokens = 768
[orchestrator.model.client.elastic]
hostname = "localhost"
port = 8000
sync_interval = 5.0
[[orchestrator.train.env]]
name = "alphabet-sort"
taskset = { id = "alphabet-sort-v1", min_turns = 3, max_turns = 5, task = { power_per_turn = false } }
harness = { id = "null", runtime = { type = "subprocess" } }