Repository navigation
[Feat] inkling2: Support Inkling-2-Small - #50186
Merged
Merged
Conversation
Co-authored-by: Cheng Wan <[email protected]> Co-authored-by: Chunan Zeng <[email protected]> Co-authored-by: Qiaolin Yu <[email protected]> Co-authored-by: Shuwen Wang <[email protected]> Co-authored-by: Xinyuan Tong <[email protected]> Co-authored-by: Yuhao Yang <[email protected]> Co-authored-by: zijiexia <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
ispobock
requested review from
Alisehen,
AniZpZ,
BBuf,
Edwardf0t1,
FlamingoPg,
Fridge003,
HaiShaw,
JustinTong0323,
OrangeRedeng,
Qiaolin-Yu,
ShangmingCai,
alphabetc1,
b8zhong,
ch-wan,
hanming-lu,
hebiao064,
hnyls2002,
huangtingwei9988,
hubertlu-tw,
hzh0425,
merrymercy,
mickqian,
xiezhq-hermann,
yctseng0211,
yhyang201,
yizhang2077 and
yuan-luo
as code owners
November 12, 2026 20:59
zcnrex
added a commit
to zcnrex/sglang
that referenced
this pull request
Nov 18, 2026
RadixAttention takes optional out_dtype, num_splits, pack_gqa, window_anchor_at_start and strided_lse, and the FlashAttention backend honours them. Also adds presheared relative bias to FA4, a split-KV relative-bias decode path (rel_bias_partials, with its SM90 kernel), and translates SWA page tables through first-token slots. Split out of the Inkling-2-Small support PR (sgl-project#50186). Co-authored-by: ispobock <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
zcnrex
added a commit
to zcnrex/sglang
that referenced
this pull request
Nov 18, 2026
A model can set safetensors_index_file (None to skip the index). The RunAI streamer loader reuses DefaultModelLoader.Source instead of a copy. The CLIP and Grok _prepare_weights replacements take the new argument; Grok forwards it to the default loader. Split out of the Inkling-2-Small support PR (sgl-project#50186). Co-authored-by: ispobock <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
zcnrex
added a commit
to zcnrex/sglang
that referenced
this pull request
Nov 18, 2026
Adds a folds_static_verify_commit draft hook, subclass hooks on the DSpark v2 worker, a step-logit softcap and vocab limit in Markov sampling, and a chain (no accept_index) mode for fused_commit_track_indices. Split out of the Inkling-2-Small support PR (sgl-project#50186). Co-authored-by: Qiaolin Yu <[email protected]> Co-authored-by: ispobock <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
zcnrex
added a commit
to zcnrex/sglang
that referenced
this pull request
Nov 18, 2026
Hopper kernels for Inkling-2-Small: Marlin NVFP4/MXFP8 expert GEMMs and GEMV, activation fake quantization, MTP draft ops, and FP8 group-32 configs for the Marlin MoE kernel. Split out of the Inkling-2-Small support PR (sgl-project#50186). Co-authored-by: ispobock <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
zcnrex
added a commit
to zcnrex/sglang
that referenced
this pull request
Nov 18, 2026
MHASubPoolSpec/MHAView gain an is_mxfp8 layout that keeps token-major UE8M0 K/V scale rows next to the E4M3 payload in each layer entry, so --kv-cache-dtype mxfp8 works with unified memory (writes, prefix commit, page envelopes, host offload). quant_store_kv_mxfp8 accepts strided caches and token-major scales. Split out of the Inkling-2-Small support PR (sgl-project#50186). Co-authored-by: Cheng Wan <[email protected]> Co-authored-by: ispobock <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
…main # Conflicts: # python/sglang/kernels/ops/attention/inkling2_decode_attention_sm90.py # python/sglang/kernels/ops/gemm/inkling2_marlin_sm90.py # python/sglang/kernels/ops/kvcache/mxfp8_quant_store_kv.py # python/sglang/kernels/ops/moe/inkling2_experts_sm90.py # python/sglang/srt/layers/attention/flashattention_backend.py # python/sglang/srt/mem_cache/hybrid_cache/linker_pool_assembler.py # python/sglang/srt/mem_cache/kv/layout/mha.py # python/sglang/srt/model_loader/loader.py # python/sglang/srt/speculative/dspark_components/dspark_verify.py # python/sglang/srt/speculative/dspark_components/dspark_worker_v2.py # test/registered/kernels/ops/kvcache/test_unified_mxfp8.py # test/registered/unit/mem_cache/test_linker_pool_assembler.py # test/registered/unit/model_loader/test_runai_model_streamer_loader.py
Prefill beyond the routed-kernel batch is fast only on MegaMoE since the CUTLASS grouped GEMMs were dropped. The model override now picks MegaMoE for the inkling2 quantized checkpoints when experts span two or more GPUs on SM100 / SM103, and a forward larger than the MegaMoE buffer runs in buffer-sized pieces instead of falling back to the routed prefill path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Collaborator
Author
|
/rerun-failed-ci |
2 tasks done
This was referenced Nov 25, 2026
This branch was successfully deployed
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
Support Inkling-2-Small.
Links
Related PRs
CI States
Latest PR Test (Base): 🚫 Run #44504216075
Latest PR Test (Extra): 🚫 Run #44504215678
Latest PR Test (AMD ROCm 10): 🚫 Run #44504215942
Tip
Base CI only covers the core cases, and its workload may not exercise your change. Use
/rerun-testto run the tests your change touches, or copy this prompt for an agent: