Repository navigation
test(awq): pin the remaining tree-tracker keeps - #6652
Merged
Merged
Conversation
Follow-up to #6650: the merged change left `nemotron_h_puzzle` and `glm4v` without a test pin (their keeps were only comments) and left a blank line after the class header in the definitions whose opt-out was removed. Add both types to `DATA_DEPENDENT_KEEPS` with their reasons so `test_data_dependent_keeps_stay_on_the_tracker` fails if either flag is dropped, and remove the leftover blank lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
Follow-up to #6650, which merged as
69c41e720before two review fixes landed.This PR carries only that delta (33 files, +13/−44); it does not re-apply the
released-type change.
nemotron_h_puzzlesets
awq_groups_from_tree_order = Trueexplicitly, andglm4vinherits itfrom
Glm4vGPTQ(shared withglm4v_moe/glm4v_moe_text). Both are now inDATA_DEPENDENT_KEEPS, sotest_data_dependent_keeps_stay_on_the_trackerfails if either flag is dropped. The orphaned
nemotron_h_puzzlecomment wasremoved from
TRACKER_PLANNED.definitions whose opt-out line was removed (
internlm2had two). Purewhitespace; no behavior change.
What Changed
tests/module_tree/test_awq_fold_inventory.py:_SHARED_EXPERT_UNROUTED,_SHARED_PARENT, and the two newDATA_DEPENDENT_KEEPSentries.gptqmodel/models/definitions/*.pyfiles: one blank line removed after theclass header (two in
internlm2.py).Tests
Pin proof: temporarily deleting
awq_groups_from_tree_order = TruefromNemotronHPuzzleQModelmakestest_data_dependent_keeps_stay_on_the_trackerfail withAssertionError: nemotron_h_puzzle is released by the full-capture inventory but the stress/perturbation A/B still changes an effective group ...; theattribute is restored in this PR.
Model Support / Module Plan
Not applicable: no
MODEL_MAP, loader, tree or fusion change. The inventorytest still covers every type; this only adds the two missing keep pins.
AWQ onboarding safety
Not applicable beyond the inventory test: no AWQ group, search, replay or fold
behavior changes. The two keeps were already in the merged #6650; this only
makes them test-enforced.
Logic Flow Documentation
Not applicable: no control-flow or decision-mechanism change.
Measured Impact
Not applicable: test pinning and whitespace only.
Review Requirements
Notes
#6650 was merged before this review delta could be amended onto it, so this is
a separate follow-up rather than a force-push of the merged branch.
🤖 Generated with Claude Code