Add Qwen 3.8 27B Megatron support - #820
Merged
Merged
Conversation
FurtherAI
temporarily deployed
to
trainer-rank-gpu-validation
August 28, 2026 08:48 — with
GitHub Actions
Inactive
bradhilton
approved these changes
Aug 28, 2026
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
Adds qualified Megatron support for
Qwen/Qwen3.8-27Bby reusing the existingQwen 3.5/3.6 dense hybrid handler. Qwen 3.8 has the same model geometry and
weight schema, so this does not add a new handler or fork the linear-attention
implementation.
MTP remains deliberately disabled, consistent with the other Qwen 3.5-family
models in ART.
Differences from #810
This carries forward #810's small registry, TrainerRank, and focused-test
changes on current
main, while resolving the minor qualification gaps foundwhen running the complete model-support workflow:
maininstead of the oldercodex/require-peft-0191branch;literal
qwen3.5model-name text, which also fixes the registered Qwen 3.6aliases;
replacing Qwen 3.5's calibration or performance floors;
openai<3: OpenAI 3.x useshttpx2 internally and rejects ART's httpx 0.x
Timeout/Limitsobjectsbefore a request reaches the socket.
Validation
The complete default handler workflow passed from clean commit
cd61066789ed331614ce9ef6b1ef136dbb345251on 8 B300s in 12m00s. All tenmandatory stages ran through the normal overlapped scheduler. Optional
sensitivity variants were not requested (
sensitivity_skipped=true).0.198038% (
layers.2.linear_attn.dt_bias).8.05% family limit; top-20 candidate-to-target KL 0.002315 against 0.003.
train tok/s, 4,053 accepted train tok/s, 1.0017 matched-core/isolated ratio,
5.14% trainer underfeed, and no acceptance failures.
the final calibration resolver check was rerun after refreshing the contract.
This supersedes the implementation proposed in #810.