Repository navigation
test: repair three stale fixtures on main 1615accf9 (gemma4 plan, fake quantize receiver, qwen2 map fallback) - #6401
Merged
Merged
Conversation
- test_checkpoint_method_compatibility: the fake BaseQModel.quantize() receiver now needs `quantized` (#6347 reads it before checkpoint validation). - test_qwen2_family_compat: clear the explicit HF_CONVERSION_MAP_REVERSED (#6360) so the test still covers the transformers fallback path. - registered_module_plans.json: re-record the Gemma4/Gemma4Text plan after #6329 moved pre_feedforward_layernorm_2 ahead of the router block.
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.
Draft test-side repairs for three stale fixtures found by a fresh sweep of
main=1615accf9.Changes
tests/test_checkpoint_method_compatibility.py— the fakeSimpleNamespacereceiver passed toBaseQModel.quantize()now needsquantized=False. [BUG] EXL3:EXL3Config(head_bits=N)on a tied-embedding model (Llama-3.2-1B/3B, Qwen2.5-0.5B..3B, ...) now aborts quantize() with "quantization oflm_headlayer with tied weights is not supported" (regression from the #6224 fix) #6347 readsself.quantizedbefore checkpoint validation, so the twotest_unsupported_checkpoint_fails_before_model_or_disk_mutationcases raisedAttributeErrorinstead of the intendedNotImplementedError.tests/test_qwen2_family_compat.py—BaseQwen2VLGPTQnow pins an explicitHF_CONVERSION_MAP_REVERSED([BUG] writer / SGLang interop: Qwen2.5-VL (and Qwen2-VL) GPTQ checkpoints can't be loaded by SGLang: tensors are saved in the runtime key layout, and the dense vision tower is not excluded indynamic#6360), which short-circuitsresolve_hf_conversion_map_reversed()before the transformers fallback the test monkeypatches. Clear the class map in the test so the fallback path is still covered.tests/module_tree/fixtures/registered_module_plans.json— re-record theGemma4ForConditionalGenerationGPTQ/gptqandGemma4TextQModel/gptqblock order after test(awq): cover fold-graph config features and fix Gemma KV/MoE folds #6329 movedpre_feedforward_layernorm_2ahead of the router block.Verification
All three nodes were red on unpatched
1615accf9and green on390a03229(the parent of #6386) / before the plan change; these are test-only updates, no product code touched.