Repository navigation
test(suites): rename the backend token in recipe filenames to automodel - #4701
Conversation
|
/ok to test 04e6cfb |
yuki-97
left a comment
There was a problem hiding this comment.
Self-review via /review-pr-team: 3 agents (rl-expert, bug-finder, test-agent) + devil's-advocate pass.
Verdict — no findings above the confidence bar. LGTM, no action needed.
Verified clean
- All 11 suite lists keep identical membership and order under the old→new mapping; every driver still has a same-basename recipe, and every
defaults:chain (301 recipes) resolves. - Across all 78 pairs the resolved settings differ only in name-derived keys (
checkpoint_dir,log_dir,wandb.name,mlflow.run_name), so the "no recipe's settings change" claim holds. - A whole-tree grep (incl.
.github/,tools/,docs/,research/) finds no remaining reference to any old recipe or driver name; the 20-tq_*wrappers still resolve to a base driver. - The
tp/eptokens that were kept agree with the resolvedautomodel_cfgvalues.
Lower-priority notes that are not inline
docs/guides/lora.md:223-228conflicts with #4277 (same six rows: this PR renames the files, #4277 renames the Backend column). Whoever merges second should keep the new filenames plus theAutomodelcolumn.
Generated by Claude Code
terrykong
left a comment
There was a problem hiding this comment.
Merge blocker: please rebase onto r0.8.0. L0_Unit_Tests_Other is red on test_nightly_compute_stays_below_4769_hours (4773 GPU-hours; CI run). This PR didn't cause it: GPU-hours are the same at base and head. The merge base (#4697) raised the xtoken nightly limit from 30 to 60 min, and #4704 (fa1ae62, already on r0.8.0) raises the cap to 4790. After rebasing, re-run /ok to test <new full sha>.
Clean, careful rename. The 157 renamed files differ from base only in name strings, every defaults: parent resolves, the suite lists keep the same entries in the same order, no old name is left anywhere, and the cherry-pick onto main merges clean today. It also fixes a tools/config_cli.py example that pointed at a missing file.
3 inline comments:
tests/test_suites/README.md: the commands name a driver without.v3that doesn't exist.- Two optional renames (pre-existing name gaps, but cheaper now than a second rename): the distillation
-longpair, and the EP recipes missing-epN(grpo-nanov3-30BA3B-1n8g-automodel.v2and others).
Follow-up, not for this PR: nightly_mcore.txt, nightly_mcore_gb200.txt, nightly_mlm.txt and nightly_mlm_gb200.txt aren't read by any unit test, so a stale entry there would silently drop a job from those lanes. A small test that every entry exists would close that.
Generated by Claude Code
Signed-off-by: Yuki Huang <[email protected]>
…, fix the stale config_cli examples Signed-off-by: Yuki Huang <[email protected]>
Signed-off-by: Yuki Huang <[email protected]>
04e6cfb to
64b2e18
Compare
…in the README Signed-off-by: Yuki Huang <[email protected]>
… the automodel recipes Signed-off-by: Yuki Huang <[email protected]>
… names Signed-off-by: Yuki Huang <[email protected]>
…the recipe filenames Signed-off-by: Yuki Huang <[email protected]>
…xist Signed-off-by: Yuki Huang <[email protected]>
|
/ok to test 5f5a3f7 |
What does this PR do ?
Renames the backend token in every recipe and driver filename to
automodel. 78 pairs renamed,no recipe's settings change.
What changed
1. The backend token.
dtensor,dtensor2tp1andfsdp2*all named the one non-Megatronbackend:
fsdp2tp1,dtensor2tp1,fsdp2,fsdp2-automodelautomodelfsdp2tp2,fsdp2tp8sp,dtensor-tp4cp2…automodel-tp2,automodel-tp8sp,automodel-tp4cp2…fsdp4ep4,fsdp8ep8automodel-ep4,automodel-ep8Degrees that only restate a default are dropped (
tp1is never set;fsdp4/fsdp8on1n4g/1n8gis full-shard). The rest were checked against each recipe's own
tensor_parallel_size/expert_parallel_size. Drivers need no edit --common.env:50derivesCONFIG_PATHfrombasename $0 .sh.2. Everything that names them. Six suite lists, both naming-convention docs, the recipe lists in
test_config_validation.pyandtest_recipe_settings.py,README.md, threedocs/guides and twotools/scripts.tests/unit/test_recipes_and_test_suites.pyalready guards both directions ofdriver ↔ recipe ↔ suite-list, and passes.
Deliberately not changed
llm/performance/, the deepscaler familytests/test_suites/README.mdalready documents as an exception, andsft-llama3.2-1b-2n8g-hsdp).Adding a token is the opposite change from removing an obsolete one.
FSDP2Config,use_torch_fsdp2,fsdp2-parallel-plan.md-- FSDP2 is the mechanism there.research/flow_grpo/'s-dp8recipes.W&B: 62 recipes change
logger.wandb.name, so those runs start a new series.🤖 Generated with Claude Code