Compare commits

...
Author SHA1 Message Date
halleriteandGitHub d3765e289d chore(deps): bump verifiers to 0.1.15.dev388 (#2870)
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
2026-06-24 22:52:46 +02:00
minh hoangandGitHub 9bf203c678 Fix Docker editable package version resolution (#2866)
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
2026-06-24 11:52:10 -07:00
46bcf628f6 chore: remove outdated math configs (#2865)
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
* chore: remove outdated config dirs

Prune four stale, unused config directories. None are referenced by
docs, skills, CI, or scripts, and each is a one-off experiment or
feature demo whose last substantive edit predates the recent config
sweeps:

- wordle: legacy v0-bridge demo, last real edit 2025-08-30
- deepscaler: old multi-stage experiment (README points at a
  configs/deepscaler/eval.toml that no longer exists)
- glm5_disagg_inference: one-off disaggregated-inference demo
- elastic: alphabet-sort elastic/DNS-discovery demo

All four still parse against the current schema; removal is about
disuse, not breakage.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: remove outdated acereason_math configs

Prune the stale acereason_math experiment configs (stage1/stage2, last
real edit 2025-12-23). They reference the aime24-v1 eval taskset that is
no longer available, so they fail to load against the current schema.

The live nightly run (configs/ci/nightly/acereason_math.toml) is
unaffected; drop its now-dangling comment reference to the deleted dir.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: keep wordle, elastic and glm5_disagg_inference configs

Narrow this PR to only the deepscaler and acereason_math configs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: remove acereason_math from nightly suite

Drop the nightly acereason-math config and its test. The nightly
workflow auto-discovers tests/nightly/test_*.py, so removing the test
file drops it from the matrix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 20:45:19 -07:00
a3151e3711 chore: repoint v1 tasksets to research-environments (#2864)
Docker Push / Push CUDA image to Docker (push) Canceled after 0s
* chore(deps): repoint scaleswe/swebench-verified/terminal-bench-2 v1 tasksets to research-environments

The three container-backed v1 SWE tasksets moved out of verifiers into
research-environments. Repoint their [tool.uv.sources] paths and bump both
submodules to match.

- deps/verifiers: drop the three envs
- deps/research-environments: add the three envs + advance to current main
- uv lock

Taskset ids are unchanged, so run configs that reference them by id need no changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): bump verifiers + research-environments submodules to current heads

Picks up vf#1851 (swebench-verified ensures uv on PATH before scoring), now ported
into the research-environments copy of swebench_verified_v1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): repoint 6 more v1 tasksets to research-environments

Following their move out of verifiers, repoint math-env-v1, aime24-v1, r2e-gym-v1,
swelego-v1, wikispeedia-v1, and general-agent-v1 from deps/verifiers to
deps/research-environments, and bump both submodules to the updated heads. The
moved envs now pin verifiers>=0.1.15.dev381 (satisfied by the editable verifiers).

- uv lock

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): bump research-environments (drop moved eval configs + scaleswe fix)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): swap v0 aime for v1 tasksets + reference tau2-bench-v1

Following the aime/wikispeedia v0->v1 replacement in research-environments:
- drop aime2024, aime2025 (v0); reference aime24-v1, aime25-v1, aime26-v1
- add tau2-bench-v1
- bump deps/research-environments + uv lock

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(deps): repin verifiers + research-environments to merged main

verifiers#1853 (remove the moved v1 tasksets) and research-environments#527 (add them)
have merged; repin both submodules to the merged main commits. uv.lock unchanged
(already consistent — `uv lock --check` passes).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(configs): point aime eval envs at the v1 tasksets

The v0 aime2024/aime2025 packages were dropped from the `envs` extra + sources, so
`uv sync --extra envs` no longer registers them and eval sections using the legacy
ids fail at runtime. Switch those eval entries to the v1 tasksets (aime24-v1 /
aime25-v1; default `subprocess` harness), keeping the display names for metric
continuity.

- configs/acereason_math/{stage1,stage2}.toml
- configs/debug/hendrycks_sanity/rl.toml
- configs/math_group/rl.toml

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 20:33:26 -07:00
19 changed files with 287 additions and 606 deletions
+17
View File
@@ -77,8 +77,25 @@ COPY deps/ /app/deps/
COPY configs /app/configs
COPY examples /app/examples
COPY benchmarks/scripts /app/benchmarks/scripts
COPY scripts/docker-editable-pretend-versions.sh /app/scripts/docker-editable-pretend-versions.sh
# Use submodule git metadata from the build context when present. Docker copies
# only the submodule .git pointer files into /app/deps, so we temporarily link
# /app/.git/modules to the read-only context before resolving versions.
ARG VERIFIERS_PRETEND_VERSION
ARG RENDERERS_PRETEND_VERSION
RUN --mount=type=cache,target=/app/.cache/uv \
--mount=type=bind,source=.,target=/build-context,readonly \
if [ -d /build-context/.git/modules ]; then mkdir -p /app/.git && ln -s /build-context/.git/modules /app/.git/modules; fi \
&& \
eval "$(bash /app/scripts/docker-editable-pretend-versions.sh --shell /app)" \
&& \
if [ -L /app/.git/modules ]; then rm /app/.git/modules && rmdir /app/.git 2>/dev/null || true; fi \
&& \
sed -i "s/fallback-version = \"0.0.0\"/fallback-version = \"${VERIFIERS_PRETEND_VERSION}\"/" /app/deps/verifiers/pyproject.toml \
&& \
sed -i "s/fallback-version = \"0.0.0\"/fallback-version = \"${RENDERERS_PRETEND_VERSION}\"/" /app/deps/renderers/pyproject.toml \
&& \
uv sync --extra flash-attn --extra flash-attn-3 --extra flash-attn-cute --extra envs --extra gpt-oss --extra modelexpress --group mamba-ssm --locked --no-dev
# arm64: build flash-attn from source, fix namespace conflicts, apply workarounds
-53
View File
@@ -1,53 +0,0 @@
max_steps = 500
seq_len = 8192
[deployment]
num_train_gpus = 2
num_infer_gpus = 6
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
[ckpt]
interval = 100
[wandb]
project = "acereason-math"
name = "stage1"
[orchestrator]
batch_size = 1024
group_size = 8
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 8192
[[orchestrator.train.env]]
id = "math-env"
args = { dataset_name = "nvidia/AceReason-Math", dataset_subset = "default", question_key = "problem", math_verify_max_workers = 128, math_verify_timeout = 60 }
[orchestrator.eval]
interval = 50
[[orchestrator.eval.env]]
id = "math500"
group_size = 1
[[orchestrator.eval.env]]
id = "aime2024"
group_size = 32
[[orchestrator.eval.env]]
id = "aime2025"
group_size = 32
[trainer.model.ac]
[inference.parallel]
dp = 6
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
-54
View File
@@ -1,54 +0,0 @@
max_steps = 1000
seq_len = 16384
[deployment]
num_train_gpus = 2
num_infer_gpus = 6
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
[ckpt]
interval = 100
resume_step = 500
[wandb]
project = "acereason-math"
name = "stage2"
[orchestrator]
batch_size = 2048
group_size = 16
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 16384
[[orchestrator.train.env]]
id = "math-env"
args = { dataset_name = "nvidia/AceReason-Math", dataset_subset = "default", question_key = "problem", math_verify_max_workers = 128, math_verify_timeout = 60 }
[orchestrator.eval]
interval = 50
[[orchestrator.eval.env]]
id = "math500"
group_size = 1
[[orchestrator.eval.env]]
id = "aime2024"
group_size = 32
[[orchestrator.eval.env]]
id = "aime2025"
group_size = 32
[trainer.model.ac]
[inference.parallel]
dp = 6
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
-36
View File
@@ -1,36 +0,0 @@
# Run on 8xH200
# Similar to configs/acereason_math/stage1.toml, but
# - 300 instead of 500 steps
# - No checkpointing
# - No evals
max_steps = 300
seq_len = 8192
[deployment]
num_train_gpus = 4
num_infer_gpus = 4
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
[orchestrator]
batch_size = 1024
group_size = 8
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 8192
[[orchestrator.train.env]]
id = "math-env"
name = "acereason-math"
args = { dataset_name = "nvidia/AceReason-Math", dataset_subset = "default", question_key = "problem", math_verify_max_workers = 128, math_verify_timeout = 60 }
[trainer]
[inference]
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
+1 -1
View File
@@ -22,8 +22,8 @@ name = "hendrycks-math"
interval = 50
[[orchestrator.eval.env]]
id = "aime2024"
name = "aime2024"
taskset = { id = "aime24-v1" }
group_size = 16
[trainer.model.ac]
-167
View File
@@ -1,167 +0,0 @@
# DeepScaler
This is a reproduction of the [DeepScaleR](https://pretty-radio-b75.notion.site/DeepScaleR-Surpassing-O1-Preview-with-a-1-5B-Model-by-Scaling-RL-19681902c1468005bed8ca303013a4e2) experiments. They use RL to train from `Deepseek-R1-Distill-Qwen-1.5B` to 43.1% on AIME2024, surpassing OpenAI’s o1-preview with just 1.5B parameters.
## Setup
Install the environment using the `prime` CLI.
```bash
prime env install primeintellect/deepscaler
```
Verify that the environment is installed correctly.
```bash
uv run python -c "import deepscaler"
```
## Training
A key insight from the paper is that they train in **stages of increasing context length**. In stages 1, 2 and 3, they train with context lengths of 8192, 16384 and 24576 tokens, respectively. We match their training setup here.
### Stage 1
```bash
bash scripts/tmux.sh -s stage1 -o outputs/stage1
```
```bash
# Run this in the `Trainer` pane
uv run rl @ configs/deepscaler/stage1.toml \
--output-dir outputs/stage1
```
### Stage 2
```bash
bash scripts/tmux.sh -s stage2 -o outputs/stage2
```
```bash
mkdir -p outputs/stage2/checkpoints
ln -s outputs/stage1/checkpoints/step_500 outputs/stage2/checkpoints/step_500
mkdir -p outputs/stage2/weights
ln -s outputs/stage1/weights/step_500 outputs/stage2/weights/step_500
```
```bash
# Run this in the `Trainer` pane
uv run rl @ configs/deepscaler/stage2.toml \
--output-dir outputs/stage2
```
### Stage 3
```bash
bash scripts/tmux.sh -s stage3 -o outputs/stage3
```
```bash
mkdir -p outputs/stage3/checkpoints
ln -s outputs/stage2/checkpoints/step_1000 outputs/stage3/checkpoints/step_1000
mkdir -p outputs/stage3/weights
ln -s outputs/stage2/weights/step_1000 outputs/stage3/weights/step_1000
```
```bash
# Run this in the `Trainer` pane
uv run rl @ configs/deepscaler/stage3.toml \
--output-dir outputs/stage3
```
## Evals
They evaluate on a series of math benchmarks, including Math500, AIME24, AMC23, Minerva Math and Olympiad Math. We will focus on `math500` and `aime2024` for the reproduction, as these are already implemented as evaluation environments on the Environment Hub and also the most prominent benchmarks. We uploaded the weight checkpoints to HF as `DeepSeek-R1-Distill-Qwen-1.5B-DeepScaleR-XXX` and evaluate the base model and each checkpoint.
![Evals](eval.png)
| Model | AIME 2024 | MATH 500 |
|-------|-----------|----------|
| DeepSeek-R1-Distill-Qwen-1.5B | 27.3% (16389±10200) | 81.4% (5450±7327) |
| DeepScaleR-100 | 30.8% (14510±9591) | 83.4% (4694±6311) |
| DeepScaleR-200 | 28.3% (11929±8630) | 83.2% (3610±4774) |
| DeepScaleR-300 | 30.6% (9898±7050) | 84.2% (3270±4027) |
| DeepScaleR-400 | 30.6% (9726±7077) | 83.6% (3283±4024) |
| DeepScaleR-500 | 33.1% (9686±6563) | 84.0% (3081±3438) |
| DeepScaleR-600 | 32.7% (9726±6222) | 86.6% (3205±3167) |
| DeepScaleR-700 | 32.5% (10162±5887) | 87.8% (3569±3953) |
| DeepScaleR-800 | 33.8% (10666±6032) | 85.4% (3835±3727) |
| DeepScaleR-900 | 28.3% (13375±6546) | 80.8% (5480±5887) |
| O1-Preview | 40.0% (N/A) | 81.4% (N/A) |
Start the inference server
```bash
bash scripts/tmux.sh
```
```bash
# Run this in the `Inference` pane
uv run inference --model.name ... --max-model-len 32768
```
*Note: The model checkpoints are uploaded to `mikasenghaas/DeepSeek-R1-Distill-Qwen-1.5B-DeepScaleR-XXX`.*
```bash
uv run eval @ configs/deepscaler/eval.toml --model.name ...
```
<details>
<summary>Raw results</summary>
<pre><code>
Base Model
Evaluated math500 in 1547.25s (Avg@1=0.8140, Pass@1: 0.8140, Completion Length: 5450.29 (±7327.93, ∈[266.00, 32734.00]), Truncated: 3.8%)
Evaluated aime2024 in 1546.06s (Avg@16=0.2729, Pass@8: 0.6130, Completion Length: 16389.57 (±10200.73, ∈[1643.00, 32699.00]), Truncated: 15.2%)
Step 100 (Stage 1)
Evaluated math500 in 1280.38s (Avg@1=0.8340, Pass@1: 0.8340, Completion Length: 4694.13 (±6311.37, ∈[225.00, 32729.00]), Truncated: 2.2%)
Evaluated aime2024 in 1279.09s (Avg@16=0.3083, Pass@8: 0.6363, Completion Length: 14510.24 (±9591.44, ∈[1606.00, 32696.00]), Truncated: 10.4%)
Step 200 (Stage 1)
Evaluated math500 in 942.63s (Avg@1=0.8320, Pass@1: 0.8320, Completion Length: 3610.20 (±4774.83, ∈[404.00, 32649.00]), Truncated: 0.8%)
Evaluated aime2024 in 942.34s (Avg@16=0.2833, Pass@8: 0.6043, Completion Length: 11929.71 (±8630.59, ∈[1770.00, 32701.00]), Truncated: 6.7%)
Step 300 (Stage 1)
Evaluated math500 in 737.77s (Avg@1=0.8420, Pass@1: 0.8420, Completion Length: 3270.25 (±4027.97, ∈[415.00, 32732.00]), Truncated: 0.4%)
Evaluated aime2024 in 736.54s (Avg@16=0.3063, Pass@8: 0.6350, Completion Length: 9898.05 (±7050.03, ∈[1606.00, 32696.00]), Truncated: 3.5%)
Step 400 (Stage 1)
Evaluated math500 in 727.78s (Avg@1=0.8360, Pass@1: 0.8360, Completion Length: 3283.45 (±4024.46, ∈[282.00, 32721.00]), Truncated: 0.4%)
Evaluated aime2024 in 726.83s (Avg@16=0.3063, Pass@8: 0.6567, Completion Length: 9726.12 (±7077.99, ∈[1266.00, 32686.00]), Truncated: 3.3%)
Step 500 (Stage 1)
Evaluated math500 in 660.66s (Avg@1=0.8540, Pass@1: 0.8540, Completion Length: 2961.01 (±3426.75, ∈[543.00, 32695.00]), Truncated: 0.6%)
Evaluated aime2024 in 658.95s (Avg@16=0.3000, Pass@8: 0.6460, Completion Length: 9121.69 (±6423.23, ∈[1323.00, 32687.00]), Truncated: 3.1%)
Step 500 (Stage 2)
Evaluated math500 in 370.32s (Avg@1=0.8400, Pass@1: 0.8400, Completion Length: 3081.88 (±3438.49, ∈[614.00, 32709.00]), Truncated: 0.4%)
Evaluated aime2024 in 368.68s (Avg@16=0.3312, Pass@8: 0.6287, Completion Length: 9686.62 (±6563.93, ∈[1140.00, 32686.00]), Truncated: 2.5%)
Step 600 (Stage 2)
Evaluated math500 in 334.98s (Avg@1=0.8660, Pass@1: 0.8660, Completion Length: 3205.39 (±3167.25, ∈[554.00, 22164.00]), Truncated: 0.0%)
Evaluated aime2024 in 354.83s (Avg@16=0.3271, Pass@8: 0.6353, Completion Length: 9726.84 (±6222.77, ∈[1162.00, 32683.00]), Truncated: 1.9%)
Step 700 (Stage 2)
Evaluated math500 in 377.43s (Avg@1=0.8780, Pass@1: 0.8780, Completion Length: 3569.39 (±3953.57, ∈[618.00, 32611.00]), Truncated: 0.4%)
Evaluated aime2024 in 375.57s (Avg@16=0.3250, Pass@8: 0.6550, Completion Length: 10162.39 (±5887.47, ∈[1428.00, 32672.00]), Truncated: 1.5%)
Step 800 (Stage 2)
Evaluated math500 in 400.01s (Avg@1=0.8540, Pass@1: 0.8540, Completion Length: 3835.00 (±3727.86, ∈[563.00, 23701.00]), Truncated: 0.0%)
Evaluated aime2024 in 398.19s (Avg@16=0.3375, Pass@8: 0.6860, Completion Length: 10666.42 (±6032.30, ∈[1898.00, 32686.00]), Truncated: 1.0%)
Step 850 (Stage 2)
Evaluated math500 in 445.40s (Avg@1=0.8640, Pass@1: 0.8640, Completion Length: 4216.45 (±4022.84, ∈[611.00, 23277.00]), Truncated: 0.0%)
Evaluated aime2024 in 446.29s (Avg@16=0.3250, Pass@8: 0.6350, Completion Length: 11313.77 (±5997.51, ∈[1695.00, 32686.00]), Truncated: 1.9%)
Step 900 (Stage 2)
Evaluated math500 in 564.56s (Avg@1=0.8080, Pass@1: 0.8080, Completion Length: 5480.47 (±5887.06, ∈[662.00, 32729.00]), Truncated: 1.8%)
SUCCESS Evaluated aime2024 in 562.67s (Avg@16=0.2833, Pass@8: 0.6003, Completion Length: 13375.38 (±6546.80, ∈[1706.00, 32687.00]), Truncated: 4.0%)
Step 950 (Stage 3)
Evaluated math500 in 755.59s (Avg@1=0.7200, Pass@1: 0.7200, Completion Length: 8146.41 (±7986.20, ∈[748.00, 32736.00]), Truncated: 4.6%)
Evaluated aime2024 in 751.49s (Avg@16=0.1833, Pass@8: 0.4207, Completion Length: 16031.10 (±6904.70, ∈[2366.00, 32699.00]), Truncated: 4.8%)
</code>
</pre>
</details>
<br/>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

-39
View File
@@ -1,39 +0,0 @@
max_steps = 500
seq_len = 8192
[deployment]
num_train_gpus = 2
num_infer_gpus = 6
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"
[wandb]
project = "deepscaler"
name = "stage1"
[ckpt]
interval = 100
[orchestrator]
batch_size = 1024
group_size = 8
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 8192
[[orchestrator.train.env]]
id = "math-env"
name = "deepscaler"
args = { dataset_name= "agentica-org/DeepScaleR-Preview-Dataset", dataset_subset = "default", question_key = "problem", answer_key = "solution", math_verify_max_workers = 128, math_verify_timeout = 60 }
[trainer.model.ac]
[inference.parallel]
dp = 6
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
-40
View File
@@ -1,40 +0,0 @@
max_steps = 1000
seq_len = 16384
[deployment]
num_train_gpus = 2
num_infer_gpus = 6
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"
[wandb]
project = "deepscaler"
name = "stage2"
[ckpt]
interval = 100
resume_step = 500
[orchestrator]
batch_size = 1024
group_size = 8
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 16384
[[orchestrator.train.env]]
id = "math-env"
name = "deepscaler"
args = { dataset_name= "agentica-org/DeepScaleR-Preview-Dataset", dataset_subset = "default", question_key = "problem", answer_key = "solution", math_verify_max_workers = 128, math_verify_timeout = 60 }
[trainer.model.ac]
[inference.parallel]
dp = 6
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
-40
View File
@@ -1,40 +0,0 @@
max_steps = 1500
seq_len = 24576
[deployment]
num_train_gpus = 2
num_infer_gpus = 6
[model]
name = "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"
[wandb]
project = "deepscaler"
name = "stage3"
[ckpt]
interval = 100
resume_step = 1000
[orchestrator]
batch_size = 1024
group_size = 8
[orchestrator.train.sampling]
temperature = 0.6
max_completion_tokens = 24576
[[orchestrator.train.env]]
id = "math-env"
name = "deepscaler"
args = { dataset_name= "agentica-org/DeepScaleR-Preview-Dataset", dataset_subset = "default", question_key = "problem", answer_key = "solution", math_verify_max_workers = 128, math_verify_timeout = 60 }
[trainer.model.ac]
[inference.parallel]
dp = 6
# Model not in MODEL_RENDERER_MAP — opt into DefaultRenderer (apply_chat_template).
[orchestrator.renderer]
name = "default"
reasoning_parser = "think"
+1 -1
View File
@@ -27,8 +27,8 @@ ratio = 0.5
interval = 50
[[orchestrator.eval.env]]
id = "aime2024"
name = "aime2024"
taskset = { id = "aime24-v1" }
num_examples = 30
group_size = 4
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ dependencies = [
"renderers>=0.1.8.dev28",
"tomli>=2.2.1",
"tomli-w>=1.2.0",
"verifiers>=0.1.15.dev357",
"verifiers>=0.1.15.dev388",
]
[build-system]
+20 -18
View File
@@ -33,7 +33,7 @@ dependencies = [
"setproctitle>=1.3.0",
"uvloop>=0.21.0",
"torchtitan",
"verifiers>=0.1.15.dev357",
"verifiers>=0.1.15.dev388",
"renderers",
"dion",
"tilelang>=0.1.8",
@@ -66,8 +66,6 @@ flash-attn-cute = [
"flash-attn-4",
]
envs = [
"aime2024",
"aime2025",
"alphabet-sort",
"code-env",
"color-codeword",
@@ -91,7 +89,7 @@ envs = [
"reverse-text",
"rlm-swe",
"rlm-search",
"rlm-uuid-ctf",
"uuid-ctf-v1",
"science-env",
"simpleqa-verified",
"tau2-bench",
@@ -101,6 +99,8 @@ envs = [
"gsm8k-v1",
"math-env-v1",
"aime24-v1",
"aime25-v1",
"aime26-v1",
"alphabet-sort-v1",
"scaleswe-v1",
"color-codeword-v1",
@@ -115,6 +115,7 @@ envs = [
"wordle-v1",
"general-agent-v1",
"swebench-verified-v1",
"tau2-bench-v1",
]
disagg = [
"deep-ep ; platform_machine == 'x86_64'",
@@ -174,7 +175,7 @@ override-dependencies = [
"transformers==5.6.2",
"torch>=2.9.0",
"openenv-core",
"verifiers>=0.1.15.dev357",
"verifiers>=0.1.15.dev388",
]
# ModelExpress 0.3.0 publishes protobuf<6 metadata, but its generated proto is
@@ -222,12 +223,10 @@ prime-rl-configs = { path = "packages/prime-rl-configs", editable = true }
# prime-rl depends on the one `verifiers` package (v0 + v1 + the legacy bridge + the built-in v1
# harnesses/tasksets, now bundled in verifiers.v1). v0 envs resolve from
# deps/{verifiers,research-environments}/environments; v1 tasksets (`-v1`) and the `compact`
# example live under deps/verifiers/environments.
# example live under deps/{verifiers,research-environments}/environments.
verifiers = { path = "deps/verifiers", editable = true }
renderers = { path = "deps/renderers", editable = true }
prime-pydantic-config = { path = "deps/pydantic-config", editable = true }
aime2024 = { path = "deps/research-environments/environments/aime2024", editable = true }
aime2025 = { path = "deps/research-environments/environments/aime2025", editable = true }
alphabet-sort = { path = "deps/verifiers/environments/alphabet_sort", editable = true }
code-env = { path = "deps/research-environments/environments/code_env", editable = true }
color-codeword = { path = "deps/research-environments/environments/color_codeword", editable = true }
@@ -251,7 +250,7 @@ opencode-swe = { path = "deps/research-environments/environments/opencode_swe",
reverse-text = { path = "deps/verifiers/environments/reverse_text", editable = true }
rlm-swe = { path = "deps/research-environments/environments/rlm_swe", editable = true }
rlm-search = { path = "deps/research-environments/environments/rlm_search", editable = true }
rlm-uuid-ctf = { path = "deps/research-environments/environments/rlm_uuid_ctf", editable = true }
uuid-ctf-v1 = { path = "deps/research-environments/environments/uuid_ctf_v1", editable = true }
science-env = { path = "deps/research-environments/environments/science_env", editable = true }
simpleqa-verified = { path = "deps/research-environments/environments/simpleqa_verified", editable = true }
tau2-bench = { path = "deps/research-environments/environments/tau2_bench", editable = true }
@@ -259,22 +258,25 @@ wiki-search = { path = "deps/verifiers/environments/wiki_search", editable = tru
wordle = { path = "deps/verifiers/environments/wordle", editable = true }
reverse-text-v1 = { path = "deps/verifiers/environments/reverse_text_v1", editable = true }
gsm8k-v1 = { path = "deps/verifiers/environments/gsm8k_v1", editable = true }
math-env-v1 = { path = "deps/verifiers/environments/math_env_v1", editable = true }
aime24-v1 = { path = "deps/verifiers/environments/aime24_v1", editable = true }
math-env-v1 = { path = "deps/research-environments/environments/math_env_v1", editable = true }
aime24-v1 = { path = "deps/research-environments/environments/aime24_v1", editable = true }
aime25-v1 = { path = "deps/research-environments/environments/aime25_v1", editable = true }
aime26-v1 = { path = "deps/research-environments/environments/aime26_v1", editable = true }
alphabet-sort-v1 = { path = "deps/verifiers/environments/alphabet_sort_v1", editable = true }
scaleswe-v1 = { path = "deps/verifiers/environments/scaleswe_v1", editable = true }
scaleswe-v1 = { path = "deps/research-environments/environments/scaleswe_v1", editable = true }
color-codeword-v1 = { path = "deps/verifiers/environments/color_codeword_v1", editable = true }
r2e-gym-v1 = { path = "deps/verifiers/environments/r2e_gym_v1", editable = true }
terminal-bench-2-v1 = { path = "deps/verifiers/environments/terminal_bench_2_v1", editable = true }
r2e-gym-v1 = { path = "deps/research-environments/environments/r2e_gym_v1", editable = true }
terminal-bench-2-v1 = { path = "deps/research-environments/environments/terminal_bench_2_v1", editable = true }
code-golf-v1 = { path = "deps/verifiers/environments/code_golf_v1", editable = true }
deepwiki-v1 = { path = "deps/verifiers/environments/deepwiki_v1", editable = true }
glossary-v1 = { path = "deps/verifiers/environments/glossary_v1", editable = true }
swelego-v1 = { path = "deps/verifiers/environments/swelego_v1", editable = true }
swelego-v1 = { path = "deps/research-environments/environments/swelego_v1", editable = true }
wiki-search-v1 = { path = "deps/verifiers/environments/wiki_search_v1", editable = true }
wikispeedia-v1 = { path = "deps/verifiers/environments/wikispeedia_v1", editable = true }
wikispeedia-v1 = { path = "deps/research-environments/environments/wikispeedia_v1", editable = true }
wordle-v1 = { path = "deps/verifiers/environments/wordle_v1", editable = true }
general-agent-v1 = { path = "deps/verifiers/environments/general_agent_v1", editable = true }
swebench-verified-v1 = { path = "deps/verifiers/environments/swebench_verified_v1", editable = true }
general-agent-v1 = { path = "deps/research-environments/environments/general_agent_v1", editable = true }
swebench-verified-v1 = { path = "deps/research-environments/environments/swebench_verified_v1", editable = true }
tau2-bench-v1 = { path = "deps/research-environments/environments/tau2_bench_v1", editable = true }
torch = { index = "pytorch-cu128" }
torchvision = { index = "pytorch-cu128" }
torchaudio = { index = "pytorch-cu128" }
+135
View File
@@ -0,0 +1,135 @@
#!/usr/bin/env bash
set -euo pipefail
mode="env"
if [ "${1:-}" = "--shell" ] || [ "${1:-}" = "--github-output" ]; then
mode="${1#--}"
shift
fi
root="${1:-.}"
root="$(cd "$root" && pwd)"
dependency_floor_version() {
local package="$1"
find "$root" \
\( -path "$root/.git" -o -path "$root/.venv" \) -prune -o \
-type f -name pyproject.toml -print |
while IFS= read -r pyproject; do
sed -nE "s/.*[\"']${package}(\\[[^]]+\\])?>=([^\"',; ]+).*/\\2/p" "$pyproject"
done |
sort -V |
tail -n 1
}
next_patch_dev_version() {
local tag="$1"
local distance="$2"
local version="${tag#v}"
local major minor patch
if [ "$distance" = "0" ]; then
printf '%s\n' "$version"
return 0
fi
if [[ "$version" =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
major="${BASH_REMATCH[1]}"
minor="${BASH_REMATCH[2]}"
patch="${BASH_REMATCH[3]}"
printf '%s.%s.%s.dev%s\n' "$major" "$minor" "$((patch + 1))" "$distance"
return 0
fi
return 1
}
describe_distance() {
sed -E 's/.*-([0-9]+)-g[0-9a-f]+$/\1/' <<< "$1"
}
describe_tag() {
sed -E 's/-[0-9]+-g[0-9a-f]+$//' <<< "$1"
}
verifiers_git_version() {
local dir="$root/deps/verifiers"
local desc tag distance
[ -d "$dir" ] || return 1
desc="$(git -C "$dir" describe --tags --long --match 'v[0-9]*.[0-9]*.[0-9]*' --exclude '*dev*' 2>/dev/null)" || return 1
tag="$(describe_tag "$desc")"
distance="$(describe_distance "$desc")"
next_patch_dev_version "$tag" "$distance"
}
renderers_git_version() {
local dir="$root/deps/renderers"
local desc tag distance version
[ -d "$dir" ] || return 1
desc="$(git -C "$dir" describe --tags --long --match 'renderers-v*' 2>/dev/null)" || return 1
tag="$(describe_tag "$desc")"
distance="$(describe_distance "$desc")"
version="${tag#renderers-v}"
if [ "$distance" = "0" ]; then
printf '%s\n' "$version"
return 0
fi
next_patch_dev_version "v$version" "$distance"
}
resolve_version() {
local package="$1"
local env_name="$2"
local git_func="$3"
local version
version="${!env_name:-}"
if [ -n "$version" ]; then
printf '%s\n' "$version"
return 0
fi
if version="$("$git_func")" && [ -n "$version" ]; then
printf '%s\n' "$version"
return 0
fi
version="$(dependency_floor_version "$package")"
if [ -n "$version" ]; then
printf '%s\n' "$version"
return 0
fi
printf 'Could not infer a pretend version for %s under %s\n' "$package" "$root" >&2
return 1
}
verifiers_version="$(resolve_version verifiers VERIFIERS_PRETEND_VERSION verifiers_git_version)"
renderers_version="$(resolve_version renderers RENDERERS_PRETEND_VERSION renderers_git_version)"
printf 'Resolved verifiers pretend version: %s\n' "$verifiers_version" >&2
printf 'Resolved renderers pretend version: %s\n' "$renderers_version" >&2
case "$mode" in
shell)
printf "export VERIFIERS_PRETEND_VERSION='%s'\n" "$verifiers_version"
printf "export RENDERERS_PRETEND_VERSION='%s'\n" "$renderers_version"
;;
github-output)
printf 'verifiers=%s\n' "$verifiers_version"
printf 'renderers=%s\n' "$renderers_version"
;;
env)
printf 'VERIFIERS_PRETEND_VERSION=%s\n' "$verifiers_version"
printf 'RENDERERS_PRETEND_VERSION=%s\n' "$renderers_version"
;;
*)
printf 'Unknown output mode: %s\n' "$mode" >&2
exit 2
;;
esac
+1 -1
View File
@@ -53,7 +53,7 @@ if [ -n "$PRIME_RL_REF" ]; then
cp -a /app/.venv "$DEST/.venv"
fi
echo "[prime-rl] running uv sync --inexact (this may take a few minutes on cold checkout)"
# Mirror the image's extras (Dockerfile.cuda:82) — explicit instead
# Mirror the image's uv sync extras — explicit instead
# of --all-extras so we don't pull in `disagg` / `quack` and trigger
# heavy source builds (deep-ep, deep-gemm, quack-kernels) at pod
# startup. --inexact keeps the seeded venv's pre-built wheels
-62
View File
@@ -1,62 +0,0 @@
from pathlib import Path
from typing import Callable
import pytest
from tests.conftest import ProcessResult
from tests.utils import check_mismatch_kl_in_range, check_no_error, check_reward_goes_up, strip_escape_codes
pytestmark = [pytest.mark.gpu, pytest.mark.slow]
@pytest.fixture(scope="module")
def wandb_name(branch_name: str) -> str:
"""Fixture for W&B name for RL CI integration tests."""
return f"acereason-math-{branch_name}"
@pytest.fixture(scope="module")
def rl_process(
run_process: Callable[..., ProcessResult],
output_dir: Path,
wandb_project: str,
wandb_name: str,
) -> ProcessResult:
cmd = [
"uv",
"run",
"rl",
"@",
"configs/ci/nightly/acereason_math.toml",
"--wandb.project",
wandb_project,
"--wandb.name",
wandb_name,
"--output-dir",
output_dir.as_posix(),
]
return run_process(cmd)
MISMATCH_KL_MIN = 0.0
MISMATCH_KL_MAX = 0.0015
@pytest.fixture(scope="module")
def test_no_error(rl_process: ProcessResult, output_dir: Path):
"""Tests that the RL process does not fail."""
check_no_error(rl_process, output_dir)
def test_reward_goes_up(rl_process: ProcessResult, test_no_error, output_dir: Path):
"""Tests that the reward goes up in the RL process"""
with open(output_dir / "logs" / "orchestrator.log", "r") as f:
orchestrator_stdout = strip_escape_codes(f.read()).splitlines()
check_reward_goes_up(orchestrator_stdout)
def test_mismatch_kl_in_band(rl_process: ProcessResult, test_no_error, output_dir: Path):
"""Tests that mismatch KL stays within the expected band."""
with open(output_dir / "logs" / "trainer.log", "r") as f:
trainer_stdout = strip_escape_codes(f.read()).splitlines()
check_mismatch_kl_in_range(trainer_stdout, min_threshold=MISMATCH_KL_MIN, max_threshold=MISMATCH_KL_MAX)
Generated
+109 -91
View File
@@ -65,40 +65,10 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl", hash = "sha256:249bb56bbfd3cdc2a004ea0ff4c2b6ddc84d53bc2194761636eb314d5cfa5dfc", size = 3832, upload-time = "2020-11-21T16:21:29.588Z" },
]
[[package]]
name = "aime2024"
version = "0.2.0"
source = { editable = "deps/research-environments/environments/aime2024" }
dependencies = [
{ name = "math-verify", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "math-verify", specifier = ">=0.8.0" },
{ name = "verifiers", specifier = ">=0.1.15.dev152" },
]
[[package]]
name = "aime2025"
version = "0.2.0"
source = { editable = "deps/research-environments/environments/aime2025" }
dependencies = [
{ name = "math-verify", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "math-verify", specifier = ">=0.8.0" },
{ name = "verifiers", specifier = ">=0.1.15.dev152" },
]
[[package]]
name = "aime24-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/aime24_v1" }
source = { editable = "deps/research-environments/environments/aime24_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
@@ -107,7 +77,37 @@ dependencies = [
[package.metadata]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "aime25-v1"
version = "0.1.0"
source = { editable = "deps/research-environments/environments/aime25_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "aime26-v1"
version = "0.1.0"
source = { editable = "deps/research-environments/environments/aime26_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
@@ -1364,7 +1364,7 @@ provides-extras = ["dev", "test"]
[[package]]
name = "general-agent-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/general_agent_v1" }
source = { editable = "deps/research-environments/environments/general_agent_v1" }
dependencies = [
{ name = "filelock", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "pydantic", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
@@ -1375,7 +1375,7 @@ dependencies = [
requires-dist = [
{ name = "filelock" },
{ name = "pydantic" },
{ name = "verifiers" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
@@ -2335,13 +2335,17 @@ requires-dist = [
[[package]]
name = "math-env-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/math_env_v1" }
source = { editable = "deps/research-environments/environments/math_env_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "datasets" }]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "math-python"
@@ -3666,9 +3670,9 @@ disagg = [
{ name = "vllm-router", marker = "platform_machine == 'x86_64' and sys_platform == 'linux'" },
]
envs = [
{ name = "aime2024", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "aime2025", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "aime24-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "aime25-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "aime26-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "alphabet-sort", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "alphabet-sort-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "code-env", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
@@ -3702,14 +3706,15 @@ envs = [
{ name = "reverse-text-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "rlm-search", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "rlm-swe", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "rlm-uuid-ctf", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "scaleswe-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "science-env", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "simpleqa-verified", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "swebench-verified-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "swelego-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "tau2-bench", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "tau2-bench-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "terminal-bench-2-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "uuid-ctf-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "wiki-search", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "wiki-search-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "wikispeedia-v1", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
@@ -3750,9 +3755,9 @@ mamba-ssm = [
[package.metadata]
requires-dist = [
{ name = "aime2024", marker = "extra == 'envs'", editable = "deps/research-environments/environments/aime2024" },
{ name = "aime2025", marker = "extra == 'envs'", editable = "deps/research-environments/environments/aime2025" },
{ name = "aime24-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/aime24_v1" },
{ name = "aime24-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/aime24_v1" },
{ name = "aime25-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/aime25_v1" },
{ name = "aime26-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/aime26_v1" },
{ name = "aiolimiter", specifier = ">=1.2.1" },
{ name = "alphabet-sort", marker = "extra == 'envs'", editable = "deps/verifiers/environments/alphabet_sort" },
{ name = "alphabet-sort-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/alphabet_sort_v1" },
@@ -3772,7 +3777,7 @@ requires-dist = [
{ name = "flash-attn-4", marker = "extra == 'flash-attn-cute'", git = "https://github.com/Dao-AILab/flash-attention.git?subdirectory=flash_attn%2Fcute&rev=96bd151" },
{ name = "flash-linear-attention", git = "https://github.com/fla-org/flash-linear-attention" },
{ name = "general-agent", marker = "extra == 'envs'", editable = "deps/research-environments/environments/general_agent" },
{ name = "general-agent-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/general_agent_v1" },
{ name = "general-agent-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/general_agent_v1" },
{ name = "glossary-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/glossary_v1" },
{ name = "gpqa", marker = "extra == 'envs'", editable = "deps/research-environments/environments/gpqa" },
{ name = "gsm8k-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/gsm8k_v1" },
@@ -3785,7 +3790,7 @@ requires-dist = [
{ name = "logic-env", marker = "extra == 'envs'", editable = "deps/research-environments/environments/logic_env" },
{ name = "loguru", specifier = ">=0.7.3" },
{ name = "math-env", marker = "extra == 'envs'", editable = "deps/research-environments/environments/math_env" },
{ name = "math-env-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/math_env_v1" },
{ name = "math-env-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/math_env_v1" },
{ name = "math-python", marker = "extra == 'envs'", editable = "deps/verifiers/environments/math_python" },
{ name = "math500", marker = "extra == 'envs'", editable = "deps/research-environments/environments/math500" },
{ name = "mini-swe-agent-plus", marker = "extra == 'envs'", editable = "deps/research-environments/environments/mini_swe_agent_plus" },
@@ -3818,7 +3823,7 @@ requires-dist = [
{ name = "pybase64", specifier = ">=1.4.2" },
{ name = "pyzmq", specifier = ">=27.1.0" },
{ name = "quack-kernels", marker = "extra == 'quack'", specifier = ">=0.4.1" },
{ name = "r2e-gym-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/r2e_gym_v1" },
{ name = "r2e-gym-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/r2e_gym_v1" },
{ name = "renderers", editable = "deps/renderers" },
{ name = "reverse-text", marker = "extra == 'envs'", editable = "deps/verifiers/environments/reverse_text" },
{ name = "reverse-text-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/reverse_text_v1" },
@@ -3826,16 +3831,16 @@ requires-dist = [
{ name = "ring-flash-attn", specifier = ">=0.1.8" },
{ name = "rlm-search", marker = "extra == 'envs'", editable = "deps/research-environments/environments/rlm_search" },
{ name = "rlm-swe", marker = "extra == 'envs'", editable = "deps/research-environments/environments/rlm_swe" },
{ name = "rlm-uuid-ctf", marker = "extra == 'envs'", editable = "deps/research-environments/environments/rlm_uuid_ctf" },
{ name = "scaleswe-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/scaleswe_v1" },
{ name = "scaleswe-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/scaleswe_v1" },
{ name = "science-env", marker = "extra == 'envs'", editable = "deps/research-environments/environments/science_env" },
{ name = "setproctitle", specifier = ">=1.3.0" },
{ name = "simpleqa-verified", marker = "extra == 'envs'", editable = "deps/research-environments/environments/simpleqa_verified" },
{ name = "swebench-verified-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/swebench_verified_v1" },
{ name = "swelego-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/swelego_v1" },
{ name = "swebench-verified-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/swebench_verified_v1" },
{ name = "swelego-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/swelego_v1" },
{ name = "tau2-bench", marker = "extra == 'envs'", editable = "deps/research-environments/environments/tau2_bench" },
{ name = "tau2-bench-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/tau2_bench_v1" },
{ name = "tenacity", specifier = ">=8.2.0" },
{ name = "terminal-bench-2-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/terminal_bench_2_v1" },
{ name = "terminal-bench-2-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/terminal_bench_2_v1" },
{ name = "tilelang", specifier = ">=0.1.8" },
{ name = "torch", specifier = ">=2.9.0", index = "https://download.pytorch.org/whl/cu128" },
{ name = "torchaudio", index = "https://download.pytorch.org/whl/cu128" },
@@ -3843,6 +3848,7 @@ requires-dist = [
{ name = "torchtitan", git = "https://github.com/pytorch/torchtitan?rev=a1fdd7e" },
{ name = "torchvision", index = "https://download.pytorch.org/whl/cu128" },
{ name = "transformers", specifier = "==5.6.2" },
{ name = "uuid-ctf-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/uuid_ctf_v1" },
{ name = "uvloop", specifier = ">=0.21.0" },
{ name = "verifiers", editable = "deps/verifiers" },
{ name = "vllm", marker = "platform_machine != 'aarch64' and platform_machine != 'x86_64'", specifier = ">=0.22.0" },
@@ -3852,7 +3858,7 @@ requires-dist = [
{ name = "wandb", specifier = ">=0.26.1" },
{ name = "wiki-search", marker = "extra == 'envs'", editable = "deps/verifiers/environments/wiki_search" },
{ name = "wiki-search-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/wiki_search_v1" },
{ name = "wikispeedia-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/wikispeedia_v1" },
{ name = "wikispeedia-v1", marker = "extra == 'envs'", editable = "deps/research-environments/environments/wikispeedia_v1" },
{ name = "wordle", marker = "extra == 'envs'", editable = "deps/verifiers/environments/wordle" },
{ name = "wordle-v1", marker = "extra == 'envs'", editable = "deps/verifiers/environments/wordle_v1" },
]
@@ -3889,7 +3895,7 @@ requires-dist = [
{ name = "renderers", specifier = ">=0.1.8.dev28" },
{ name = "tomli", specifier = ">=2.2.1" },
{ name = "tomli-w", specifier = ">=1.2.0" },
{ name = "verifiers", specifier = ">=0.1.15.dev357" },
{ name = "verifiers", specifier = ">=0.1.15.dev388" },
]
[[package]]
@@ -4384,13 +4390,17 @@ wheels = [
[[package]]
name = "r2e-gym-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/r2e_gym_v1" }
source = { editable = "deps/research-environments/environments/r2e_gym_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "datasets" }]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "redis"
@@ -4607,23 +4617,6 @@ requires-dist = [
{ name = "verifiers", extras = ["packages"], specifier = ">=0.1.15.dev17,<0.1.15.dev156" },
]
[[package]]
name = "rlm-uuid-ctf"
version = "0.1.1"
source = { editable = "deps/research-environments/environments/rlm_uuid_ctf" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "prime-sandboxes", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "datasets", specifier = ">=4.0.0" },
{ name = "prime-sandboxes", specifier = ">=0.2.21" },
{ name = "verifiers", extras = ["packages"], specifier = ">=0.1.15.dev17" },
]
[[package]]
name = "rpds-py"
version = "0.30.0"
@@ -4663,13 +4656,17 @@ wheels = [
[[package]]
name = "scaleswe-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/scaleswe_v1" }
source = { editable = "deps/research-environments/environments/scaleswe_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "datasets" }]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "science-env"
@@ -4928,24 +4925,28 @@ wheels = [
[[package]]
name = "swebench-verified-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/swebench_verified_v1" }
source = { editable = "deps/research-environments/environments/swebench_verified_v1" }
dependencies = [
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "verifiers" }]
requires-dist = [{ name = "verifiers", specifier = ">=0.1.15.dev388" }]
[[package]]
name = "swelego-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/swelego_v1" }
source = { editable = "deps/research-environments/environments/swelego_v1" }
dependencies = [
{ name = "datasets", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "datasets" }]
requires-dist = [
{ name = "datasets" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "sympy"
@@ -5028,6 +5029,22 @@ requires-dist = [
{ name = "verifiers", specifier = ">=0.1.15.dev17" },
]
[[package]]
name = "tau2-bench-v1"
version = "0.2.0"
source = { editable = "deps/research-environments/environments/tau2_bench_v1" }
dependencies = [
{ name = "tau2", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [
{ name = "audioop-lts", marker = "python_full_version >= '3.13'" },
{ name = "tau2", git = "https://github.com/sierra-research/tau2-bench.git?rev=337326e" },
{ name = "verifiers", specifier = ">=0.1.15.dev381" },
]
[[package]]
name = "tenacity"
version = "9.1.4"
@@ -5069,13 +5086,13 @@ wheels = [
[[package]]
name = "terminal-bench-2-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/terminal_bench_2_v1" }
source = { editable = "deps/research-environments/environments/terminal_bench_2_v1" }
dependencies = [
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "verifiers" }]
requires-dist = [{ name = "verifiers", specifier = ">=0.1.15.dev388" }]
[[package]]
name = "textarena"
@@ -5544,6 +5561,17 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
]
[[package]]
name = "uuid-ctf-v1"
version = "0.1.0"
source = { editable = "deps/research-environments/environments/uuid_ctf_v1" }
dependencies = [
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "verifiers", specifier = ">=0.1.15.dev381" }]
[[package]]
name = "uvicorn"
version = "0.48.0"
@@ -5681,26 +5709,16 @@ dev = [
{ name = "ty", specifier = ">=0.0.1a29,<0.0.22" },
]
examples = [
{ name = "aime24-v1", editable = "deps/verifiers/environments/aime24_v1" },
{ name = "alphabet-sort-v1", editable = "deps/verifiers/environments/alphabet_sort_v1" },
{ name = "code-golf-v1", editable = "deps/verifiers/environments/code_golf_v1" },
{ name = "color-codeword-v1", editable = "deps/verifiers/environments/color_codeword_v1" },
{ name = "compact", editable = "deps/verifiers/environments/compact" },
{ name = "deepwiki-v1", editable = "deps/verifiers/environments/deepwiki_v1" },
{ name = "general-agent-v1", editable = "deps/verifiers/environments/general_agent_v1" },
{ name = "glossary-v1", editable = "deps/verifiers/environments/glossary_v1" },
{ name = "gsm8k-v1", editable = "deps/verifiers/environments/gsm8k_v1" },
{ name = "math-env-v1", editable = "deps/verifiers/environments/math_env_v1" },
{ name = "r2e-gym-v1", editable = "deps/verifiers/environments/r2e_gym_v1" },
{ name = "reverse-text-v1", editable = "deps/verifiers/environments/reverse_text_v1" },
{ name = "scaleswe-v1", editable = "deps/verifiers/environments/scaleswe_v1" },
{ name = "scratchpad-v1", editable = "deps/verifiers/environments/scratchpad_v1" },
{ name = "swebench-verified-v1", editable = "deps/verifiers/environments/swebench_verified_v1" },
{ name = "swelego-v1", editable = "deps/verifiers/environments/swelego_v1" },
{ name = "tau2-bench-v1", editable = "deps/verifiers/environments/tau2_bench_v1" },
{ name = "terminal-bench-2-v1", editable = "deps/verifiers/environments/terminal_bench_2_v1" },
{ name = "wiki-search-v1", editable = "deps/verifiers/environments/wiki_search_v1" },
{ name = "wikispeedia-v1", editable = "deps/verifiers/environments/wikispeedia_v1" },
{ name = "wordle-v1", editable = "deps/verifiers/environments/wordle_v1" },
]
@@ -6260,13 +6278,13 @@ requires-dist = [
[[package]]
name = "wikispeedia-v1"
version = "0.1.0"
source = { editable = "deps/verifiers/environments/wikispeedia_v1" }
source = { editable = "deps/research-environments/environments/wikispeedia_v1" }
dependencies = [
{ name = "verifiers", marker = "(platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')" },
]
[package.metadata]
requires-dist = [{ name = "verifiers" }]
requires-dist = [{ name = "verifiers", specifier = ">=0.1.15.dev381" }]
[[package]]
name = "wordle"