Skip to content

[Fix] Support Qwen3-Coder-Next hybrid architecture in model inspector - #1

Merged
yichiche merged 2 commits into
mainfrom
support-qwen3-coder-next
Feb 7, 2026
Merged

[Fix] Support Qwen3-Coder-Next hybrid architecture in model inspector#1
yichiche merged 2 commits into
mainfrom
support-qwen3-coder-next

Conversation

@yichiche

@yichiche yichiche commented Feb 7, 2026

Copy link
Copy Markdown
Owner
  • Handle direct self.layers = make_layers(...) (not just tuple unpacking)
  • Resolve local function references passed to make_layers (e.g. get_layer)
  • Detect dispatch dict patterns (ALL_DECODER_LAYER_TYPES) for hybrid models
  • Use full_attention_interval from config to resolve per-layer class dispatch
    (every 4th layer = attention, rest = linear attention for Qwen3-Coder-Next)
  • Add Qwen3-Coder-Next config.json for testing
  • Add relevant Qwen3 config keys to ConfigParser

- Handle direct `self.layers = make_layers(...)` (not just tuple unpacking)
- Resolve local function references passed to make_layers (e.g. `get_layer`)
- Detect dispatch dict patterns (ALL_DECODER_LAYER_TYPES) for hybrid models
- Use `full_attention_interval` from config to resolve per-layer class dispatch
  (every 4th layer = attention, rest = linear attention for Qwen3-Coder-Next)
- Add Qwen3-Coder-Next config.json for testing
- Add relevant Qwen3 config keys to ConfigParser
@yichiche
yichiche merged commit 242d7ec into main Feb 7, 2026
1 check failed
@yichiche
yichiche deleted the support-qwen3-coder-next branch February 24, 2026 15:01
yichiche added a commit that referenced this pull request Jul 6, 2026
[Fix] Support Qwen3-Coder-Next hybrid architecture in model inspector
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.

1 participant