Repository navigation
PEFT MoE snapshot: add transformers' Dots3NoteTextModel alias - #17606
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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
The
pinned-symbol matrix (vLLM, TRL, PEFT, ST, bitsandbytes, transformers)job fails on any PR that runs it (seen in the staging run for #17597):That test is a canary. It reads transformers'
conversion_mapping.pyonmainand checks that every fused MoE alias in it is also in_PEFT_MOE_CONVERSION_PATTERNSinunsloth/import_fixes.py, the snapshot used when the live map is not available. transformers added a new alias today in huggingface/transformers#47844 (dots3-note Preview support):Like the
UnlimitedOcrTextModelentry already in the snapshot, it is keyed by class name rather than model type. The canary is right: without the entry, the stand-in map would let a fused dots3-note checkpoint fall through without its MoE conversion.Change
unsloth/import_fixes.py:"Dots3NoteTextModel": "qwen2_moe"added to_PEFT_MOE_CONVERSION_PATTERNS, next to the other class-keyed alias, with a comment saying where it comes from.Testing
tests/version_compat/test_peft_conversion_symbol_backfill.pyagainst the live upstream map: 69 passed.import_fixes.py,test_the_fused_snapshot_matches_upstreamfails with the error above.