Repository navigation
[MUSA] add platform capability support and skip CUDA-only dtype fallback - #35855
Closed
froststeam wants to merge 1 commit into
Closed
froststeam wants to merge 1 commit into
froststeam wants to merge 1 commit into
Conversation
froststeam
requested review from
Fridge003,
Ying1123,
alexnails,
hnyls2002,
ispobock,
merrymercy and
whybeyoung
as code owners
August 21, 2026 10:35
froststeam
force-pushed
the
musa-platform-capability-main
branch
from
August 21, 2026 11:10
7cb8cfc to
56ae7db
Compare
froststeam
force-pushed
the
musa-platform-capability-main
branch
2 times, most recently
from
August 24, 2026 01:49
ff6c233 to
df3e21a
Compare
yeahdongcn
reviewed
Aug 24, 2026
froststeam
force-pushed
the
musa-platform-capability-main
branch
3 times, most recently
from
August 24, 2026 04:46
31069f8 to
c9b55c4
Compare
froststeam
requested review from
BBuf,
FlamingoPg,
HaiShaw and
yizhang2077
as code owners
August 24, 2026 04:46
yeahdongcn
approved these changes
Aug 24, 2026
Collaborator
|
/tag-and-rerun-ci |
froststeam
force-pushed
the
musa-platform-capability-main
branch
from
August 24, 2026 05:24
796922b to
773170f
Compare
froststeam
force-pushed
the
musa-platform-capability-main
branch
from
August 25, 2026 11:26
773170f to
656e4ad
Compare
froststeam
requested review from
JustinTong0323,
ishandhanani,
sogalin,
yctseng0211 and
zijiexia
as code owners
August 25, 2026 11:26
froststeam
force-pushed
the
musa-platform-capability-main
branch
7 times, most recently
from
August 26, 2026 10:57
9eccce3 to
773170f
Compare
This was referenced Oct 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
Add in-tree MUSA platform support to SGLang's SRT platform layer:
MusaSRTPlatformwith CUDA-compatible device operations and MUSA platform identitytorch.version.musais present andtorch.musa.is_available()is truemaybe_downgrade_dtype_for_legacy_gpu()for all non-CPU devices, while gating the fallback itself oncurrent_platform.is_cuda()srt_musatorchada dependency to>=0.1.84Dependency
Requires torchada
0.1.84, which contains the MUSA graph-safe operator overrides and Inductor heuristic mapping used by downstream SGLang-Omni graph-enabled paths.Scope
This keeps the MUSA integration at the platform/capability layer:
torch.loadmap-location rewritetorch.cuda.get_device_capability()checksVerification
Rebased onto the latest upstream
main.Result: passed.
MUSA runtime checks with torchada
0.1.84confirmed:SGLang-Omni integration smoke with latest SGLang, SGLang-Omni, and torchada changes:
Qwen/Qwen3-ASR-1.7B/v1/audio/transcriptionswith a WAV inputQwen/Qwen3-TTS-12Hz-0.6B-Base/v1/audio/speechwith graph enabled and reduced capture rangeQwen/Qwen3-Omni-30B-A3B-FP8MiniMaxAI/MiniMax-Music3/v1/audio/speechmusic generationCI States
Latest PR Test (Base): ❌ Run #32960915709
Latest PR Test (Extra): ❌ Run #32960915567
Latest PR Test (AMD ROCm 7.2): ❌ Run #32960915729