Skip to content

[Feat] kimi_k3: Merge the rest of the Kimi-K3.1 Day-0 branch - #48414

Merged
hnyls2002 merged 110 commits into
mainfrom
kimi-k3.1-day-0
Nov 17, 2026
Merged

hnyls2002 merged 110 commits into
mainfrom
kimi-k3.1-day-0

Conversation

@sglang-bot

@sglang-bot sglang-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Adds Kimi-K3.1 (KimiK31ForConditionalGeneration) with its Day-0 serving stack: DSA with decode context parallelism, PD disaggregation, DFlash speculative decoding, pipeline-parallel prefill, HiSparse, and the model's fused kernels. Basic model support is on main (#48415); most of the rest landed through the port PRs below, and this PR now merges what remains.

Model: https://huggingface.co/moonshotai/Kimi-K3.1-Pro

Merging this PR

This PR merges the remainder of the branch as it is, after a cleanup against main (details in #48414 (comment)):

Landing on main

A box is ticked once this branch has caught up with that port PR and its core change matches; what this branch still has beyond it is listed under the box. Each port PR opens with a "Port of #48414" section: what it takes from here and what it changed.

Ported

Decode context parallelism

DFlash drafter integration

External linker

Prefill context parallelism (split of #48504)

Kernels and backends

API, media, and scheduling

Mamba

HiSparse

Into this branch

Adopted from main (not ports; caught up in their merge position like a port): #47960 replaces this branch's top-k tie order and cluster path. #47267 gathers the candidate top-k over lm_head's own group; left here: the fused candidate all-gather (_fused_candidate_all_gather), run over that group.


CI States

Latest PR Test (Base): 🚫 Run #44038600554
Latest PR Test (Extra): 🚫 Run #44038600553
Latest PR Test (AMD ROCm 10): 🚫 Run #44038600665

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

Co-authored-by: Yuhao Yang <[email protected]>
Co-authored-by: Khoa Pham <[email protected]>
Co-authored-by: Baizhou Zhang <[email protected]>
Co-authored-by: Shuwen Wang <[email protected]>
Co-authored-by: Po-Han Huang <[email protected]>
Co-authored-by: StarDuster <[email protected]>
Co-authored-by: Yuwei An <[email protected]>
Co-authored-by: Xiaoyu Zhang <[email protected]>
Co-authored-by: Chunan Zeng <[email protected]>
Co-authored-by: Mao Cheng <[email protected]>
Co-authored-by: Ziyi Xu <[email protected]>
Co-authored-by: Nitin Sai Bommi <[email protected]>
Co-authored-by: Kurt Shuster <[email protected]>
Co-authored-by: akhilg-nv <[email protected]>
@mintlify

mintlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
sglang-doc 🟢 Ready View Preview Nov 17, 2026, 7:27 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

This branch was successfully deployed

1 active deployment
staging - docs — 2b556f87 Deployed Nov 17, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blackwell SM100/SM120 deepseek dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation hicache Hierarchical Caching for SGLang highest-priority CI: all three control labels, plus never batch-cancelled or stale-closed jit-kernel memory-pool mooncake npu quant LLM Quantization release-highlight Candidate PR for release note highlight run-ci CI: run the baseline test suite on this PR run-ci-nv-extra CI: NVIDIA/shared Extra suite (requires run-ci) sgl-kernel speculative-decoding unified-radix-cache

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants