Migrate Qwen3-Next and Qwen3.5 models to HybridModel - #4836
Draft
Phlip79 wants to merge 2 commits into
Draft
Conversation
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
This was referenced Jul 12, 2026
Phlip79
force-pushed
the
philip/qwen3-hybrid
branch
from
July 23, 2026 22:53
42f6005 to
eddbe88
Compare
5 tasks
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
HybridModelHybridModelModels modified
Qwen3-Next checkpoint using
Qwen3NextForCausalLM:Qwen/Qwen3-Next-80B-A3B-InstructQwen3.5 text-decoder architectures:
qwen3_5_textusingQwen3_5ForCausalLMqwen3_5_moe_textusingQwen3_5MoeForCausalLMThese are reusable language-decoder architectures, not separate public Qwen3.5 checkpoint repositories. They appear as the nested
text_configinside the officialQwen/Qwen3.5-*multimodal checkpoints. This PR migrates those decoder bridges and provides language-layer mapping helpers reused by the full multimodal bridges.The official
Qwen/Qwen3.5-*checkpoint repositories, their top-level conditional-generation wrappers, vision models, and end-to-end conversion paths are modified in #4837.Stack
This is PR 2 of 4. Merge the stack in order:
Validation
uv run --no-project --with pre-commit pre-commit run --all-files