Files
prime-rl/configs/general_agent/rl_qwen3_4b.toml
T
321c8aa825
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
chore: bump research-environments to latest main (#2999)
* chore: drop v0 logic-env and math-env deps

These v0 environments are being removed from research-environments in favor of
their v1 tasksets (logic-env -> i3_logic_v1, math-env -> math-env-v1, the latter
already wired here). Remove the v0 editable path deps + relock so the build
doesn't break when deps/research-environments is re-pinned past their deletion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: migrate standalone math configs off v0 math-env to v1 tasksets

Move the training configs that used the v0 math-env on an explicit dataset to
v1 env sections: gsm8k -> gsm8k-v1 (verifiers), and the Hendrycks/sanity configs
-> math-env-v1 (task-facing math_verify_timeout preserved where set). All use the
`null` harness + subprocess runtime. Drops the v0-only math_verify_max_workers.

qwen30b_math and examples/Intellect-3.1 use the v0 math-env DEFAULT (INTELLECT-3-RL
math), so they migrate to i3_math_v1 instead — deferred to the submodule bump.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: bump research-environments to latest main and fix moved env paths

Bump deps/research-environments 504bd2620 -> 54f30788f, which includes the
v0->v1 migration (#653), the environment grouping reorg (#655), frontierscience
v1 (#656), and swebench deprecation (#651). The reorg moved every env into a
category subdir (math/, knowledge/, search/, tool_use/, long_context/, code/,
reasoning/, science/, if/, terminal/), so update all 44 editable path deps in
[tool.uv.sources] accordingly, and relock.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: re-bump to research-environments with i3_math_v1; migrate qwen30b_math

Re-bump deps/research-environments 54f30788f -> 06232831f (adds i3_math_v1, #660).
Wire i3-math-v1 (INTELLECT-3-RL math) and i3-logic-v1 (INTELLECT-3-RL logic) as
editable path deps, and migrate examples/qwen30b_math (v0 math-env's INTELLECT-3-RL
default) to the i3_math_v1 v1 taskset. Relock.

examples/Intellect-3.1 is left on v0 for a dedicated recipe pass (it mixes 6 v0
envs — mini-swe-agent-plus/deepdive/math-env/logic-env/code-env/aime2025 — several
without a clean 1:1 v1 mapping); it still validates (v0 sections aren't imported).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: migrate remaining config/example env refs to installed v1 envs

Sweep every configs/ + examples/ env reference so all resolve to installed envs
(no Environments-Hub downloads, no removed v0 envs):

- mini-swe-agent-plus -> r2e-gym-v1 (default harness, prime runtime): Intellect-3.1,
  qwen30b_swe, minimax_m2.5_swe, glm5_pd_disag
- Intellect-3.1 recipe fully to v1: deepdive->deepdive-v1 (rlm+search), math-env->
  i3_math_v1, logic-env->i3_logic_v1 (filter max 0.874), code-env->i3_code_v1,
  aime2025->aime25-v1
- aime2025->aime25-v1 (qwen30b_math eval)
- de-Hub primeintellect/*: wordle->wordle, alphabet-sort->alphabet-sort,
  wiki-search->wiki-search, aime2024->aime24-v1 (hendrycks_sanity eval)
- general-agent-solver-rlm -> general-agent-v1 taskset (colocated tools; configs/general_agent/*)

All target envs are already in the `envs` extra (no lock change). All configs parse
under the schema; audit shows 0 unresolved env references.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: SWE eval -> swebench-verified-v1; lowercase Intellect-3.1 dir

- Point the SWE *eval* env at swebench-verified-v1 (train stays r2e-gym-v1) in
  Intellect-3.1, qwen30b_swe, minimax_m2.5_swe, glm5_pd_disag.
- Rename examples/Intellect-3.1 -> examples/intellect-3.1 (lowercase) and update
  the docs/configuration.md link.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: drop "-quick" from SWE eval name (now full swebench-verified-v1)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: runtime labels use the run name, not the env name

Set the prime-runtime sandbox labels to each config's run identifier (its wandb
project) instead of per-env tags like ["deepdive"] / ["mini-swe-agent-plus"].

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: prime-runtime labels = [run name, env name]

Convention: tag prime sandboxes with both the run identifier (wandb project) and
the env name, e.g. ["intellect-3.1", "swe"] / ["intellect-3.1", "deepdive"].

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci: slim install parses an SFT [slurm] config (RL configs are now v1)

The slim "parse a real config" step parsed examples/Intellect-3.1/rl.toml, which
(a) was renamed to lowercase and (b) is now a v1 recipe — v1 env sections resolve/
import their taskset at parse (vf.EnvServerConfig), and those env packages aren't
installed in the slim (prime-rl-configs-only) env. Point it at an SFT [slurm]
config (no env sections) so it still verifies slurm/template_path handling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci: slim install also parses the reverse_text RL config (v0 env, [slurm] compose)

Cover both paths on the slim install: the SFT [slurm] config and the reverse_text
RL recipe (rl.toml @ slurm_rl.toml). The RL one parses because reverse-text is a
v0 env id (resolved lazily, not imported at parse), so no env package is needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 14:10:10 -07:00

46 lines
679 B
TOML

max_steps = 200
seq_len = 32768
[deployment]
num_train_gpus = 4
num_infer_gpus = 4
[wandb]
project = "general-agent-debug"
name = "qwen3-4b-rlm"
[ckpt]
interval = 100
keep_last = 1
[model]
name = "Qwen/Qwen3-4B-Instruct-2507"
[trainer]
[trainer.model]
cp = 2
[trainer.model.ac]
freq = 1
[trainer.model.compile]
[orchestrator]
batch_size = 512
rollouts_per_example = 8
max_off_policy_steps = 32
[[orchestrator.train.env]]
taskset = { id = "general-agent-v1", task = { tools = { colocated = true } } }
harness = { id = "null", runtime = { type = "modal" } }
[inference]
gpu_memory_utilization = 0.85
[inference.model]
max_model_len = 32768
[inference.parallel]
dp = 4