Skip to content

Tracking: Kimi MLA upstream split simulation - #2

Draft
voipmonitor wants to merge 1302 commits into
mainfrom
track/kimi-mla-upstream-split-20260422
Draft

Tracking: Kimi MLA upstream split simulation#2
voipmonitor wants to merge 1302 commits into
mainfrom
track/kimi-mla-upstream-split-20260422

Conversation

@voipmonitor

Copy link
Copy Markdown
Owner

Kimi 2.5/2.6 MLA + DCP + SpecDecode Tracking

This document is a virtual tracking issue for splitting the current working Docker state into upstream-sized PRs, then recomposing them to verify parity.

Base

  • Docker code base commit: 47fcb8ca68c1027ba7eb7a9056bb4596ee284221
  • Fork: voipmonitor/vllm
  • Target upstream repo: vllm-project/vllm

Upstream-candidate PR buckets

  1. MLA + DCP + FP8 KV support
  2. Async speculative proposer race fix
  3. Draft-specific attention backend + draft KV dtype
  4. Qwen3 / Qwen3-DFlash local argmax support
  5. Llama Eagle3 local argmax support

Existing upstream context

  • #34795 MLA + DCP + FP8 KV support
  • #39419 local argmax reduction for large-vocab spec decode
  • #39930 DFlash backend selection
  • #39995 DFlash + FlashInfer experiments

Local-only / not for upstream in current form

  • VLLM_SPECULATIVE_DISABLE_ABOVE_SEQ_LEN env workaround
  • XML / NCCL_GRAPH_FILE scoping workarounds
  • experimental Triton MLA split/reduction tuning
  • local NCCL 2.29.7 patched build and no-XML validation
  • PCIe custom allreduce opt-in env hack

Verification plan

  1. Create topic branches for each PR bucket.
  2. Reapply only the relevant hunks from the working Docker tree.
  3. Create an integration branch by merging/cherry-picking those branches.
  4. Diff the integration branch against the working Docker tree.
  5. If parity is reached, open upstream issue/PRs plus a final Kimi recipe issue.

ZhanqiuHu and others added 30 commits April 10, 2026 17:35
Signed-off-by: Rahul-Tuli <rtuli@redhat.com>
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
Co-authored-by: Rahul-Tuli <rtuli@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com>
)

Signed-off-by: Yan Ma <yan.ma@intel.com>
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
Signed-off-by: Tianyu Guo <guoty9@mail2.sysu.edu.cn>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Signed-off-by: leeyongjun <jqueen.astro@gmail.com>
Signed-off-by: Ziying Tao <tzzying@outlook.com>
…adding (vllm-project#39064)

Signed-off-by: Vibhav Agarwal <vibhavagarwal5@gmail.com>
Co-authored-by: vibhav-agarwal <vibhav.agarwal@glance.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…ectly (vllm-project#38844)

Signed-off-by: ShubyM <shubymishra20@gmail.com>
…atch (vllm-project#38919)

Signed-off-by: Itay Etelis <itay.etelis@ibm.com>
Co-authored-by: Itay Etelis <itay.etelis@ibm.com>
Co-authored-by: Michael Goin <mgoin64@gmail.com>
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
Signed-off-by: Xinyu Chen <xinyu1.chen@intel.com>
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
…m-project#39344)

Signed-off-by: r266-tech <r266.tech@gmail.com>
Signed-off-by: Roger Wang <hey@rogerw.io>
Co-authored-by: Roger Wang <hey@rogerw.io>
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Co-authored-by: Or Ozeri <or@ozery.com>
…roject#38709)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
…llm-project#39354)

The number of features supported by the connector has grown substantially
and the `nixl_connector.py` file has accumulated a lot of code. Creates a separate
directory and isolates connector/scheduler code in the hope of improving clarity
and maintainability.

Further refactor of components aimed at improving clarity and simplifying code
will follow soon.

Signed-off-by: NickLucche <nlucches@redhat.com>
Signed-off-by: Animesh Jain <anijain@umich.edu>
…dsl_moe.py` (vllm-project#39644)

Signed-off-by: Yongye Zhu <zyy1102000@gmail.com>
ilmarkov and others added 19 commits April 20, 2026 10:24
Signed-off-by: ilmarkov <markovilya197@gmail.com>
Signed-off-by: Markov Ilya <markovilya19@gmail.com>
… TransferTopology (vllm-project#39529)

Signed-off-by: Zhanqiu Hu <zhu@redhat.com>
…m-project#40125)

Signed-off-by: Aleksandar Yanakiev <alexander.yanakiev@discretestack.com>
Co-authored-by: Aleksandar Yanakiev <alexander.yanakiev@discretestack.com>
Signed-off-by: kse <kevin.sejourne@cloud-temple.com>
Co-authored-by: kse <kevin.sejourne@cloud-temple.com>
Signed-off-by: Vasiliy Kuznetsov <vasiliy@meta.com>
…3 speculative decoding on ROCm (vllm-project#39616)

Signed-off-by: larryli2-amd <larryli2@amd.com>
Co-authored-by: TJian <tunjian.tan@embeddedllm.com>
Signed-off-by: yewentao256 <zhyanwentao@126.com>
…vllm-project#39242)

Signed-off-by: Rita Brugarolas Brufau <rita.brugarolasbrufau@amd.com>
Signed-off-by: Hashem Hashemi <hashem.hashemi@amd.com>
…Base (vllm-project#35949)

Signed-off-by: Bill Nell <bnell@redhat.com>
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com>
Signed-off-by: Sage Moore <sage@neuralmagic.com>
Co-authored-by: Tyler Michael Smith <tyler@neuralmagic.com>

Copy link
Copy Markdown
Owner Author

Status update:

  • Added simulated topic branches for the current Kimi MLA upstream split:
    • sim/pr-34795-mla-dcp-fp8
    • sim/pr-async-spec-proposer-race
    • sim/pr-draft-backend-kv-dtype
    • sim/pr-qwen3-local-argmax
    • sim/pr-llama-eagle3-local-argmax
  • Added local-only runtime branches:
    • sim/local-spec-disable-threshold
    • sim/local-pcie-custom-allreduce
    • sim/local-triton-mla-tuning
  • Added integration branch:
    • sim/integration-kimi-mla-20260422

Integration parity vs the live docker tree is exact for the main Kimi/EAGLE runtime files (mla_attention.py, gpu_model_runner.py, cp_utils.py, async_scheduler.py, custom_all_reduce.py, triton_mla.py, triton_decode_attention.py, qwen3*.py, llama_eagle3.py, and the DCP FP8 test).

No-XML benchmark update with patched NCCL 2.29.7:

  • end-to-end works without NCCL_GRAPH_FILE
  • but performance is not yet equivalent to the XML-based setup
  • long-context decode is roughly comparable/slightly better
  • short-context decode is worse
  • prefill is dramatically worse

So the current conclusion is:

  • patched NCCL is promising and functional
  • but we cannot remove the XML-based runtime recipe yet if we want current best performance
  • the XML-scoping hack remains local-only and should not be upstreamed in its current form

The tracker doc on this branch now contains the detailed branch map, parity status, and benchmark summary.

Copy link
Copy Markdown
Owner Author

Draft PR simulation is now complete.

Simulated upstream-candidate PRs:

Simulated local-only runtime PRs:

Integration branch:

  • sim/integration-kimi-mla-20260422

Current integration status:

  • the integration branch reconstructs the main Kimi runtime files from the live docker tree exactly for the core working set
  • remaining differences are only the local DFlash window-size additions in speculative.py, a small warning/fallback tweak in eagle.py, and comment/whitespace drift in flash_attn.py

The tracker document on this branch has been updated with the branch map, PR list, parity summary, and the patched-NCCL no-XML benchmark result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.