Repository navigation
Conversation
The rules that decided PR 1 through PR 4 lived in a review conversation, not in the repo, so the next person adding a nightly test had no way to know them. The testing skill now carries the judgement calls the unit tests cannot make: what a nightly slot costs (7x its per-run price, every week, forever), the GPU-hour bands, at most two nightly tests per (algorithm, model), feature coverage riding on one small vehicle model instead of whichever model the author is working on, and the prohibition on adding coverage to a performance/ recipe. adding-a-test.md holds the mechanics -- the file pair, the CONFIG block, GB200 mirrors, TQ wrappers, and how to check your work without a cluster. tests/test_suites/README.md becomes a pointer to it rather than a second copy of the naming rules, which now have a validator anyway. Also corrects the sequence-packing count in the naming validator's docstring: 64 of the 185 recipes it checks enable packing, not 94. The asymmetry argument is unchanged -- 8 recipes say seqpack either way -- but the number was wrong. Signed-off-by: Terry Kong <[email protected]>
docs/testing.md covered unit and functional tests and said nothing about the nightly/release/performance suites, so a contributor reading the repo's own testing guide had no path to the rules that govern them. Signed-off-by: Terry Kong <[email protected]>
terrykong
force-pushed
the
test-suite-skill
branch
from
August 11, 2026 16:19
1f1bd56 to
83eccd3
Compare
3 of 4 tasks
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.
What does this PR do ?
Writes down the rules that decided the four PRs below it.
Stack position: PR 5 of 5, the last one. Below: #3561 (recipe naming + validator). Nothing above.
PR 1–4 pruned, restructured, declared, and renamed on the basis of rules that existed only in a review conversation. This puts them in the
testingskill so the next person adding a nightly test can find them, and so a reviewer has something to point at.What the skill now says
The unit tests already catch naming, budget overruns, and missing declarations. The skill covers what they cannot:
SUITE_BUDGETS; when a lane is full the fix is to retire a test, not raise the number.release. Calibrated to the lane: ~79% of nightly tests sit in the ≤32 band and account for ~40% of the cost, while the handful above 64 carry more than a third..vNbumps don't count separately. The tree exceeds this today —sft+llama3.1-8b,grpo+qwen3-30ba3bandgrpo+nanov3-30BA3Bcarry six apiece — which is stated as backlog, not precedent.performance/recipe. Those hyperparameters feed a tracked series.check_metrics.pyassertion. A test that has never demonstrated convergence cannot detect a change in it.adding-a-test.mdholds the mechanics: the YAML/driver pair, the CONFIG block variables and what each one costs you, the depth-independentcommon.envsource line, GB200 mirrors, TQ wrapper delegation, and the local checks that work without a cluster.Also in this PR
tests/test_suites/README.mdbecomes a pointer. It was a second copy of the naming rules, which now have a validator. The launch/snapshot documentation moved into the skill;research/template_project/README.mdlinked to its anchor and was repointed.review-prnow works the testing checklist when a diff touchestests/test_suites/orexamples/configs/recipes/— explicitly not re-deriving what the unit tests cover.seqpackeither way), but the number was wrong and is now verified.Verified locally
TEST_DRYRUNFollow-ups this does not do
The skill describes the vehicle model as the home for feature coverage, but the re-homing itself is separate work: building the vehicle's plain-Megatron arm, and moving the sampling-parity pair, HSDP, and
megatron_generationcoverage onto it. PR 3b (deleting the manifests) is still waiting on the nemo-ci change scoped in #3560.Before your PR is "Ready for review"
Pre checks:
3rdparty/*submodules.