Skip to content

Fix a typo in GGML integration of Qwen2 MoE - #42650

Merged
SunMarc merged 1 commit into
huggingface:mainfrom
a4lg:fix-typo-for-qwen2-moe
Dec 5, 2025
Merged

Fix a typo in GGML integration of Qwen2 MoE#42650
SunMarc merged 1 commit into
huggingface:mainfrom
a4lg:fix-typo-for-qwen2-moe

Conversation

@a4lg

@a4lg a4lg commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

It fixes a typo in the GGML integration code to enable reading Qwen2 MoE config from a GGUF file correctly.

It is intended to be backported to v4.

Related (Qwen3 MoE): #39976

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@SunMarc @MekkCyber @Cyrilvallez

Just like `"qwen3_moe"` below, name of the key must be `"qwen2_moe"`
with one underscore.

Signed-off-by: Tsukasa OI <floss_llm@irq.a4lg.com>
@a4lg
a4lg force-pushed the fix-typo-for-qwen2-moe branch from 66bd5df to 518b25e Compare December 5, 2025 11:23

@SunMarc SunMarc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@SunMarc
SunMarc enabled auto-merge (squash) December 5, 2025 14:04
@SunMarc
SunMarc merged commit 366de9a into huggingface:main Dec 5, 2025
23 checks passed
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

sarathc-cerebras pushed a commit to sarathc-cerebras/transformers that referenced this pull request Dec 7, 2025
Just like `"qwen3_moe"` below, name of the key must be `"qwen2_moe"`
with one underscore.

Signed-off-by: Tsukasa OI <floss_llm@irq.a4lg.com>
leaderofARS pushed a commit to leaderofARS/transformers that referenced this pull request Dec 9, 2025
Just like `"qwen3_moe"` below, name of the key must be `"qwen2_moe"`
with one underscore.

Signed-off-by: Tsukasa OI <floss_llm@irq.a4lg.com>
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
Just like `"qwen3_moe"` below, name of the key must be `"qwen2_moe"`
with one underscore.

Signed-off-by: Tsukasa OI <floss_llm@irq.a4lg.com>
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.

3 participants