Repository navigation
fix(benchmarks): keep the Super 3.5 batch repeat counts when --num-repeats replaces num_repeats - #5043
Open
ekellbuch wants to merge 2 commits into
Open
fix(benchmarks): keep the Super 3.5 batch repeat counts when --num-repeats replaces num_repeats#5043ekellbuch wants to merge 2 commits into
ekellbuch wants to merge 2 commits into
Conversation
`gym eval run --help` describes --num-repeats as "Number of rollouts per task", but with --benchmark it multiplied the benchmark's own num_repeats: data preparation wrote each task num_repeats times, then rollout collection ran every row --num-repeats times. terminal_bench_2_1/terminus_2 (num_repeats: 8) with --num-repeats 3 ran 24 per task. When num_repeats is set for the run, data preparation now writes each task once, so it alone sets the count. Validation and the metrics sidecars still use the dataset's num_repeats, so they don't change. Without it, a benchmark runs its own num_repeats as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Kelly <[email protected]>
…peats replaces num_repeats With a run's num_repeats replacing each benchmark's own (previous commit), the batch configs would run 1 attempt where they ran 3-16. core.yaml now lists every benchmark that repeats in its per-agent num_repeats, with the count it ran before (dataset num_repeats x the old run-level value); swe.yaml drops its run-level num_repeats: 1 so the SWE-bench configs' num_repeats: 3 applies. README and the launcher test follow. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Kelly <[email protected]>
Contributor
|
/review |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #5042: only the last commit (
fix(benchmarks): keep the Super 3.5 batch repeat counts…) is new. Part of #5041.Problem
The Nemotron 3.5 Super batch configs relied on a run's
num_repeatsmultiplying each benchmark's own. After #5042 a run'snum_repeatsreplaces it, so without this PR they would run 1 attempt where they ran 3–16.Changes
batch_configs/core.yamlnum_repeatslists every benchmark that repeats, with the count it ran before (datasetnum_repeats× the old run-level value).batch_configs/swe.yamlnum_repeats: 1, so the SWE-bench configs'num_repeats: 3applies.README.mdnum_repeatsreplacing each benchmark's own, instead of multiplying it.tests/unit_tests/test_super35_batch_launcher.pyAttempts per task, before (main) and after (#5042 + this PR):
Testing
pytest tests/unit_tests/test_super35_batch_launcher.py test_train_data_utils.py test_cli_eval.py: 97 passed.Proposed labels:
bug,area:config.🤖 Generated with Claude Code