Repository navigation
[Feat] kernels: Add muse spark operators and collective GEMM (2/5) - #44665
Merged
Merged
Conversation
Fridge003
requested review from
BBuf,
DarkSharpness,
FlamingoPg,
HaiShaw,
HydraQYH,
celve,
ispobock,
merrymercy,
yizhang2077 and
yuan-luo
as code owners
October 16, 2026 04:44
This was referenced Oct 16, 2026
Fridge003
force-pushed
the
codex/muse-spark-stack-02-kernels
branch
from
October 16, 2026 05:20
8eb86c0 to
1a7f3d4
Compare
2 of 9 tasks
Split layer 2/5 from #44530. Source commit: a55ab7d Co-authored-by: 1am9trash <[email protected]> Co-authored-by: Alex Nails <[email protected]> Co-authored-by: Baizhou Zhang <[email protected]> Co-authored-by: Chunan Zeng <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Ethan Che <[email protected]> Co-authored-by: HAI <[email protected]> Co-authored-by: HaiShaw <[email protected]> Co-authored-by: Jiajun Li <[email protected]> Co-authored-by: Jiajun Li <[email protected]> Co-authored-by: Jimmy Shiu <[email protected]> Co-authored-by: Jimmy Shong <[email protected]> Co-authored-by: Jimmy Shong <[email protected]> Co-authored-by: Liangsheng Yin <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Zijie Chen <[email protected]> Co-authored-by: ethche <[email protected]> Co-authored-by: jacky.cheng <[email protected]> Co-authored-by: jianan-gu <[email protected]> Co-authored-by: yhyang201 <[email protected]>
Fridge003
force-pushed
the
codex/muse-spark-stack-02-kernels
branch
from
October 16, 2026 06:29
1a7f3d4 to
359030d
Compare
Rename muse_spark_v12 to muse_spark in the JIT sources, operator package, import paths, registry and JIT module names. Co-authored-by: 1am9trash <[email protected]> Co-authored-by: Alex Nails <[email protected]> Co-authored-by: Baizhou Zhang <[email protected]> Co-authored-by: Chunan Zeng <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Ethan Che <[email protected]> Co-authored-by: HAI <[email protected]> Co-authored-by: HaiShaw <[email protected]> Co-authored-by: Jiajun Li <[email protected]> Co-authored-by: Jiajun Li <[email protected]> Co-authored-by: Jimmy Shiu <[email protected]> Co-authored-by: Jimmy Shong <[email protected]> Co-authored-by: Jimmy Shong <[email protected]> Co-authored-by: Liangsheng Yin <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Wookje Han <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: Zijie Chen <[email protected]> Co-authored-by: ethche <[email protected]> Co-authored-by: jacky.cheng <[email protected]> Co-authored-by: jianan-gu <[email protected]> Co-authored-by: yhyang201 <[email protected]>
5 tasks done
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.
Motivation
Split #44530 into five review layers. This is layer 2/5, based on #44664.
Modifications
Adds the Muse Spark operators, CUDA JIT kernels, collective GEMM implementations, and shared kernel integration. AMD-specific kernels and capabilities belong to the AMD layer; the changes from radixark/sglang-muse-spark#224 belong to the final layer.
This layer changes 44 files (+13,752 / -17) relative to its immediate base. Every split commit preserves all 32
Co-authored-bytrailers from the original commit.Validation
mainat92580581da6fc8542a997a00c1a8b71b03497680; CUDA Docker support from [Chore] docker: Add muse spark CUDA image and DeepGEMM patches (1/5) #44664 is already merged.python/sglang/kernels/jit/csrc/muse_spark_v12/andpython/sglang/kernels/ops/muse_spark_v12/tomuse_spark/. Updated downstream imports, lazy group registration, JIT source/module names, test strings and comments. No oldmuse_spark_v12references remain in any of the four branch tips.Mechanical rename proof
The kernels PR contains a separate
mechanical_provablerename commit. The same transform was applied to each downstream tree, keeping later layers out of earlier PRs. All four reproductions passed.Standalone reproduction script (Python 3.12+, Git and pre-commit)
Save the following as
reproduce_muse_spark_rename.py. Ensure the base/target SHAs embedded inrecordsare present in your local clone (git fetch origin <sha>if needed), then run:The script checks a temporary shared clone; it does not edit the source checkout.
Stack
Merge/review order, from
mainupward:The original #44530 remains unchanged as the full-stack reference.
CI States
Latest PR Test (Base): 🚫 Run #38870914490
Latest PR Test (Extra): ❌ Run #38870914510
Latest PR Test (AMD ROCm 10): 🚫 Run #38870914545