Repository navigation
PEFT MoE conversion snapshot: add beam, which transformers main now fuses as qwen2_moe - #14005
Conversation
…uses as qwen2_moe
|
@codex review |
Codex Review SummaryThis 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 SummaryThis 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. Can't wait for the next one! 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". |
Summary
pinned-symbol matrix (vLLM, TRL, PEFT, ST, bitsandbytes, transformers)fails on PRs based on current main (for example #13986):The test is the canary for this case. It reads transformers main's
conversion_mapping.py, and huggingface/transformers#49664 (today) added"beam": "qwen2_moe"there._PEFT_MOE_CONVERSION_PATTERNSinunsloth/import_fixes.pyis the snapshot our PEFT MoE config handling falls back on. Without the entry, abeammodel's LoRA config would miss the fused-expert conversion, because the name says nothing about MoE. The snapshot is behind; the test is right.Change
Add
"beam": "qwen2_moe"to the snapshot, in alphabetical order with the other qwen2_moe-family entries.Testing
tests/version_compat/test_peft_conversion_symbol_backfill.py: 68 passed on transformers 5.18, 5.20 and 4.57.6.test_the_fused_snapshot_matches_upstreamfails with the CI message above.