Skip to content

test(awq): refresh the fold inventory after the mimo_v2/diffusion_gemma/dots3_note/glm5_next fixes - #6452

Merged
Qubitium merged 1 commit into
mainfrom
fix/awq-inventory-after-fold-fixes
Nov 29, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/awq-inventory-after-fold-fixes

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Summary

tests/module_tree/test_awq_fold_inventory.py fails on main (8e8864d): 4 failed, 497 passed. #6446 pinned four wrong AWQ planner outcomes as bug: entries, and its test requires each listed difference to still differ. #6449 (mimo_v2, diffusion_gemma, dots3_note) and #6451 (glm5_next) then fixed those outcomes. This PR refreshes the fixture and the difference table to match the fixed planner. Test-only; no library change.

What Changed

Tests

  • Unit tests have been executed and passed, or the reason they are not applicable is documented.
  • I added a new simple/fast unit test for this change, or documented why that is not applicable. Not applicable: this repairs an existing test's fixture.
# main 8e8864da8
pytest -n 8 tests/module_tree/test_awq_fold_inventory.py
# -> 4 failed, 497 passed: test_current_planner_matches_inventory[diffusion_gemma/parity|dots3_note/default|mimo_v2/default|glm5_next/default]
# branch, after regenerating the fixture only
# -> 2 failed (test_canonical_folds_match_inventory[diffusion_gemma/parity|dots3_note/default]: "now matches; remove it from AWQ_FOLD_DIFFERENCES")
# branch, final
pytest -n 8 tests/module_tree/test_awq_fold_inventory.py
# -> 501 passed
ruff check tests/module_tree/test_awq_fold_inventory.py   # All checks passed!

Measured Impact

Not applicable: test fixtures only.

Model Support / Module Plan

Not applicable: no definition change. Model test node IDs and results: the 501 inventory cases above.

AWQ onboarding safety

Not applicable: no grouping, search, replay or fold code changes. The fixture records the plans that #6449 and #6451 already qualified with neutral-fold evidence.

Logic Flow Documentation

  • This change does not alter a major logic flow, or the required diagrams and docs page are included below.

Diagram summary: not applicable, test data only.

Review Requirements

  • Reviewed this PR.
  • Checked that the code matches existing project structure, APIs, and conventions.
  • Avoided unnecessary monkeypatching and used the project's normal extension points where possible.
  • Minimized and compacted the impacted code surface.
  • Considered and eliminated potential regressions.

Kernel Accuracy Requirements

Not applicable: no kernel change.

Notes

The other 206 types' fixture entries are untouched; --types merges only the regenerated keys.

🤖 Generated with Claude Code

…ma/dots3_note/glm5_next fixes

#6446 pinned four wrong planner outcomes as `bug:` entries, and its inventory
test requires a listed difference to still differ. #6449 and #6451 fixed them,
so test_awq_fold_inventory.py fails on main (4 planner cases, then 2
canonical cases).

- Regenerate the four fixture entries with
  `awq_fold_inventory.py --write --types dots3_note,mimo_v2,diffusion_gemma,glm5_next`:
  mimo_v2 and diffusion_gemma (k_eq_v layer 1) drop self_attn.o_proj from the
  input_layernorm group, dots3_note sliding layers plan instead of raising,
  glm5_next adds mlp.shared_experts.gate_proj/up_proj as consumers.
- diffusion_gemma/parity and dots3_note/default now match the role-derived
  folds, so their entries are removed.
- mimo_v2 and glm5_next still differ from the derivation for reasons that are
  not bugs (v_proj -> o_proj is not emitted after a `:!` leaf; glm5_next
  linear-attention layers need `v_proj:nosrc`), so they are reclassified.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Qubitium
Qubitium marked this pull request as ready for review November 29, 2026 21:53
@Qubitium
Qubitium merged commit 452550d into main Nov 29, 2026
6 checks passed
@Qubitium
Qubitium deleted the fix/awq-inventory-after-fold-fixes branch November 29, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant