Skip to content

Fix Qwen3OmniMoE weight init - #42531

Merged
Rocketknight1 merged 2 commits into
mainfrom
fix_qwen3omnimoe_init_weights
Dec 1, 2025
Merged

Fix Qwen3OmniMoE weight init#42531
Rocketknight1 merged 2 commits into
mainfrom
fix_qwen3omnimoe_init_weights

Conversation

@Rocketknight1

Copy link
Copy Markdown
Member

In #42456 we renamed self.router to self.gate in some layers but the _init_weights for Qwen3OmniMoE still refers to router. This PR fixes it!

@Rocketknight1
Rocketknight1 marked this pull request as ready for review December 1, 2025 16:56
@github-actions

github-actions Bot commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: qwen3_omni_moe

@ArthurZucker ArthurZucker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please update the modular

@Rocketknight1

Copy link
Copy Markdown
Member Author

today is not a smart day for me

@Rocketknight1
Rocketknight1 enabled auto-merge (squash) December 1, 2025 17:01
@Rocketknight1
Rocketknight1 merged commit dac2ad7 into main Dec 1, 2025
18 checks passed
@Rocketknight1
Rocketknight1 deleted the fix_qwen3omnimoe_init_weights branch December 1, 2025 17:07
@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
* module.router -> module.gate

* i am not smart today
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* module.router -> module.gate

* i am not smart today
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