Contrib: Add Qwen3.6-27B (post-training update of Qwen3.5-27B)#140
Open
jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
Open
Contrib: Add Qwen3.6-27B (post-training update of Qwen3.5-27B)#140jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
jimburtoft wants to merge 1 commit intoaws-neuron:mainfrom
Conversation
Qwen3.6-27B shares identical architecture with Qwen3.5-27B (qwen3_5 model_type, hybrid DeltaNet + GQA). Same NxDI implementation as PR aws-neuron#128 with updated documentation, Qwen3.6-27B benchmarks, and cross-references. Validated on trn2.3xlarge (TP=4, SDK 2.29): 7/7 quality tests passed, TPOT=54.2ms, 18.5 tok/s, TTFT=306ms. Performance within 2% of Qwen3.5-27B.
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
qwen3_5model_type) -- improved agentic coding and thinking preservation, only weights differRelationship to PR #128 (Qwen3.5-27B)
This contrib uses the same
Qwen35*classes andmodeling_qwen35*.pyfilenames as the Qwen3.5-27B contrib (PR #128). The code is identical -- both models share theqwen3_5model_type. Only the HuggingFace model ID and weights differ.Config Compatibility
Qwen3.6-27B adds
output_gate_type="swish"totext_config. Investigation confirmed this field is completely unused by HF transformers (zero references across v4.57.6, v5.6.0, and GitHub main) and by this NxDI code. No code changes required.Test Results
Unit Tests (42/42 PASS, CPU only)
Architecture-level tests -- identical results to Qwen3.5-27B.
Quality Validation (7/7 PASS, trn2.3xlarge, TP=4, SDK 2.29)
Performance (trn2.3xlarge, TP=4, LNC=2, BF16, SDK 2.29)
* TTFT difference due to compilation config (256-token vs 128-token bucket), not model. Architectural performance is equivalent.
Files (15 files, ~6600 lines)
Checklist