5567cc1b25
[Mamba] RecoverSSM align: keep a boundary-ending state in its block
...
A speculative window whose accepted tokens end exactly on a recurrent block
boundary selected the following block-table column for the committed state
(commit plan) and recorded it as the running column (postprocess). That
column can still be unallocated, so the next step reads an uninitialized
page. Select the block that holds the last committed token, matching the
(n - 1) // block convention used elsewhere in align mode. Applies to
Kimi-K3 KDA and to the Qwen GDN/PLE RecoverSSM paths that share the plan.
Fix and test from local-inference-lab/vllm a02f585d (Martin Vit, root cause
reported by astra); the GDN/PLE align tests now expect the same convention.
Signed-off-by: Jürgen Schmied <juergenschmied70@gmail.com >
Co-authored-by: Martin Vit <martin@voipmonitor.org >
Co-authored-by: Claude <noreply@anthropic.com >
2026-09-27 11:12:40 +02:00
Jürgen Schmied
ed2a9665ea
Merge branch 'main' into gdn-recoverssm
2026-09-27 08:01:32 +02:00
927c87b347
[PCP][DCP] Support DCP target model with non-DCP Dspark ( #56723 )
...
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
Co-authored-by: Codex <noreply@openai.com >
2026-09-26 18:12:35 -04:00
Jürgen Schmied and Claude
a80e41d690
[Mamba] Share RecoverSSM commit kernels and helpers across models
...
RecoverSSM's commit-plan and conv-window compaction kernels are model independent.
Move them from models/kimi_k3 into model_executor/layers/mamba/ops/recoverssm.py
(Kimi-K3 keeps its private names as import aliases; kernel source unchanged), add
mamba/recoverssm_utils.py (activation predicate, argument validation) and the
generic spec-row/request mapping helpers to v1/attention/backends/recoverssm_metadata.py.
CacheConfig.use_kda_recoverssm becomes use_recoverssm: the switch now selects RecoverSSM
for any model whose recurrent layers implement it, not only KDA.
No functional change for Kimi-K3.
Signed-off-by: Jürgen Schmied <juergenschmied70@gmail.com >
Co-authored-by: Claude <noreply@anthropic.com >
2026-09-27 00:07:04 +02:00
a4eb3f25d6
[Spec Decode] Enable Gemma4 DSpark adaptive verification with FlashInfer ( #57263 )
...
Signed-off-by: zixi-qi <zixi@inferact.ai >
Co-authored-by: OpenAI Codex <noreply@openai.com >
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
Co-authored-by: Nick Hill <nickhill123@gmail.com >
2026-09-26 17:01:17 +08:00
Nick Hill
234df712ed
[MRV2] Minor model_runner.py code cleanup ( #58610 )
...
Signed-off-by: Nick Hill <nickhill123@gmail.com >
2026-09-25 07:59:27 -07:00
73a78e6f1f
[SpecDecode] Add LiLiCorr drafter ( #57934 )
...
Signed-off-by: Andrii Skliar <askliar@nvidia.com >
Signed-off-by: Andrii Skliar <andreyws96@gmail.com >
Co-authored-by: Andrii Skliar <askliar@nvidia.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: Benjamin Chislett <chislett.ben@gmail.com >
2026-09-25 10:08:28 -04:00
YiSheng5 and Kunshang Ji
b05f7d5fbc
[PP][XPU]Add the flag to control microbatch feature on MRV2+PP ( #55145 )
...
Signed-off-by: yisheng <yi.sheng@intel.com >
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com >
2026-09-25 12:05:35 +08:00
Nick Hill and Claude Opus 5.5
7dbd0a8d22
[Bugfix][MRV2] Treat padded prompt tails as spec-decode rows for hybrid models ( #58434 )
...
Signed-off-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-09-24 18:29:53 -07:00
b3a87b2d04
[Bugfix][KVConnector] Finalize saves on steps without a forward ( #57775 )
...
Signed-off-by: Yifan Qiao <yifanqiao@inferact.ai >
Co-authored-by: OpenAI Codex <noreply@openai.com >
Co-authored-by: Kimi Code <noreply@moonshot.ai >
2026-09-25 00:06:36 +00:00
Juntian Liu and Claude Opus 5.5
04730e8270
[DFlash] Capture the context K/V precompute in the draft CUDA graph ( #57632 )
...
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-09-24 21:38:04 +00:00
Nick Hill
09fe178dba
Revert "[DSpark] Support pipeline-parallel targets in aggregated serving ( #56956 )" ( #58484 )
2026-09-24 08:48:36 -07:00
Taneem Ibrahim
bbd7c24d6e
[MRV2] Validate MRV2 entrypoint logits processors ( #57728 )
...
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com >
2026-09-24 09:07:26 +00:00
Yejing Lai and Kunshang Ji
14f98cbe5d
[Bugfix][XPU] store the pointer raw bit pattern instead of its numeric value ( #54514 )
...
Signed-off-by: Lai, Yejing <yejing.lai@intel.com >
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com >
2026-09-24 02:05:26 -07:00
Andreas Karatzas and OpenAI Codex
23110a0c9e
[Bugfix] Capture prefill kernels for mixed FULL graphs ( #58275 )
...
Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com >
Co-authored-by: OpenAI Codex <codex@openai.com >
2026-09-24 02:05:07 -07:00
Jhao-Ting Chen
4fb767ff0a
[Kernel] Resubmit PR 48666 - Gemma4 FP8 KV FA4 head dim 512 backend selection ( #53175 )
...
Signed-off-by: Jhao-Ting Chen <jhaotingc@nvidia.com >
2026-09-23 20:29:06 -07:00
e6dc16cebd
[PCP] Support prefill context parallelism with data parallelism ( #57075 )
...
Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com >
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Signed-off-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com >
Co-authored-by: QiuChunshuo <qiuchunshuo@huawei.com >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com >
Co-authored-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-09-23 22:32:36 -04:00
Nick Hill
310f15d354
[Bugfix][MRV2] Align dummy idx_mapping dtype to avoid runtime jit ( #58462 )
...
Signed-off-by: Nick Hill <nickhill123@gmail.com >
2026-09-23 16:54:48 -07:00
Kevin H. Luu and Claude Opus 5.5
21ee743f47
[CI][Bugfix] Limit MRV2 sampler JIT warmup registration to ROCm ( #58465 )
...
Signed-off-by: khluu <khluu000@gmail.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-23 16:11:50 -07:00
157bcb7c48
[DSpark] Support pipeline-parallel targets in aggregated serving ( #56956 )
...
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com >
Co-authored-by: Kimi Code <noreply@moonshot.cn >
Co-authored-by: Yongye Zhu <zyy1102000@gmail.com >
2026-09-23 04:52:28 -07:00
Nick Hill
afec265bca
[MRV2] Miscellaneous code cleanup ( #57980 )
2026-09-23 01:51:52 -07:00
Andreas Karatzas and OpenAI Codex
96e203b08e
[ROCm][Bugfix] Register MRV2 sampler JIT warmups ( #58092 )
...
Signed-off-by: Andreas Karatzas <akaratza@amd.com >
Co-authored-by: OpenAI Codex <codex@openai.com >
2026-09-23 03:17:13 -05:00
88aa0d287d
[Spec decode] Support variable-length decode for Kimi-K3 adaptive ver ( #52988 )
...
Signed-off-by: Albert Cheng <albecheng@nvidia.com >
Signed-off-by: Albert Cheng (Engrg-Hardware 1) <albecheng@login-bia01.bia.clusters.nvidia.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Chislett <bchislett@nvidia.com >
2026-09-22 20:43:32 -07:00
Wentao Ye
fae5cbfc8b
[Refactor] Remove dead code multiple places ( #58002 )
...
Signed-off-by: yewentao256 <zhyanwentao@126.com >
2026-09-22 16:36:03 -04:00
hcl and mgoin
71a2392845
[Bugfix][V1] Read ModelState max_model_len from model config ( #58149 )
...
Signed-off-by: Chenglun Hu <chenglunhu@gmail.com >
Signed-off-by: mgoin <mgoin64@gmail.com >
Co-authored-by: mgoin <mgoin64@gmail.com >
2026-09-22 19:45:04 +00:00
Taneem Ibrahim
bc162b3f92
[MRV2] Release weight offloader on shutdown ( #57834 )
...
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com >
2026-09-22 15:01:20 -04:00
Lucas Wilkinson and Claude Fable 5.1
5c121e962a
[SpecDecode] Restore residual-logits comments in _resample_kernel ( #58166 )
...
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-22 08:07:31 -07:00
Yicong Wang
c4d424c2e2
[Bugfix][Spec Decode] Cap DFlash/DSpark profiling query batch ( #56448 )
...
Signed-off-by: wangyicong <wangyicong@bytedance.com >
2026-09-22 12:36:32 +08:00
siyu and Isotr0py
c723a831a8
[Fast Start] Cache the MTP draft model in a separate daemon group ( #57312 )
...
Signed-off-by: liusy58 <mg21330037@smail.nju.edu.cn >
Signed-off-by: Isotr0py <Isotr0py@outlook.com >
Co-authored-by: Isotr0py <Isotr0py@outlook.com >
2026-09-22 03:13:38 +00:00
Taneem Ibrahim
7d06dd1ffa
[Pooling] MRV2 pooling shutdown model ref ( #57737 )
...
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com >
2026-09-21 16:54:57 -07:00
Cyrus Leung
c8824a1e42
[MM] Move supports_multimodal_inputs and cache out of registry ( #57913 )
...
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk >
2026-09-21 07:43:07 -07:00
0b7f11a1ee
[AuxOutput] Add block-keyed storage for routed-expert outputs ( #45635 )
...
Signed-off-by: aoshen02 <aoshen@inferact.ai >
Signed-off-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: aoshen02 <aoshen@inferact.ai >
Co-authored-by: OpenAI Codex <codex@openai.com >
Co-authored-by: Roger Wang <hey@rogerw.io >
Co-authored-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: Codex <noreply@openai.com >
2026-09-21 10:25:05 +00:00
liuzhenwei and Kunshang Ji
6654bcbfca
[MRV2][XPU] use xpu sample kernel in mrv2 sampler ( #57277 )
...
Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com >
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com >
2026-09-21 13:24:41 +08:00
Yifan Qiao and Claude Fable 5.1
d2983f2f16
[Bugfix][Spec Decode] Stop dummy draft decode steps from writing KV through stale block-table rows ( #56734 )
...
Signed-off-by: Yifan Qiao <yifanqiao@inferact.ai >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-21 01:06:25 +00:00
Mi Jiazhi and jiazhimi
e378275a8f
[Model] Pass intermediate_tensors to the model when capturing CUDA gr… ( #57745 )
...
Co-authored-by: jiazhimi <jiazhimi@tencent.com >
2026-09-19 23:23:29 -07:00
Matt Mastracci and Claude Fable 5.1
601e1c7c51
[Perf] Give a prefill-only batch the model state's number of logit rows ( #57416 )
...
Signed-off-by: Matt Mastracci <matthew@mastracci.com >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-20 04:58:30 +00:00
5302d1fe40
[Model Runner V2] Support custom logits processors ( #56497 )
...
Signed-off-by: David Cheung <d7cheung@gmail.com >
Signed-off-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Nick Hill <nickhill123@gmail.com >
2026-09-19 17:46:49 +00:00
Cyrus Leung
751f6807d9
[Refactor] Use dynamic MM cache in processor ( #57674 )
...
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk >
2026-09-19 15:38:00 +00:00
Jiang Wu and Jiang Wu
6af44e2887
[Bugfix][CPU] Fix DeepSeek V4.1 import without Triton ( #57654 )
...
Signed-off-by: Jiang Wu <245355730+JiangLLM@users.noreply.github.com >
Co-authored-by: Jiang Wu <245355730+JiangLLM@users.noreply.github.com >
2026-09-19 05:46:13 +00:00
waizuichougou
a1bf8ac12d
[Bugfix][MRV2] Match fast-prefill padding to active LoRA batches ( #56456 )
...
Signed-off-by: waizuichougou <2082431897@qq.com >
Signed-off-by: waizuichougou <105572299+waizuichougou@users.noreply.github.com >
2026-09-18 22:13:23 +00:00
1dc2d854c1
[Feat][Model] Support encoder-side SWA-bounded replay for DeepSeek-V4.1-Flash ( #56227 )
...
Signed-off-by: Yifan Qiao <yifanqiao@inferact.ai >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
Co-authored-by: Woosuk Kwon <woosuk@inferact.ai >
2026-09-18 15:01:24 -07:00
Juntian Liu and Woosuk Kwon
bf13ecc2f7
[Perf][MRV2] Share token-to-request mappings across KV cache groups ( #57102 )
...
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Co-authored-by: Woosuk Kwon <woosuk@inferact.ai >
2026-09-18 03:14:36 +00:00
ac2f0ea82c
[MoE][Bugfix] Skip SP padded rows in grouped MoE routing ( #56079 )
...
Signed-off-by: Elvir Crncevic <elvircrn@gmail.com >
Co-authored-by: OpenAI Codex <codex@openai.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Tyler Michael Smith <tlrmchlsmth@gmail.com >
2026-09-17 19:36:19 +00:00
Robert Shaw and Claude Opus 5
861a299adc
[Bugfix][Model Runner V2] Route dummy tokens to MoE experts during profiling ( #57270 )
...
Signed-off-by: Robert Shaw <robertgshaw2@gmail.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-17 10:11:14 -04:00
omerpaz95
fa3622a4a1
[EC Connector] Add Metrics Collection ( #54960 )
...
Signed-off-by: omerpaz95 <omerpaz95@gmail.com >
2026-09-17 10:36:23 +08:00
Harry Mellor and Claude Opus 5
651a88c09a
[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings ( #57212 )
...
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-16 10:57:24 -07:00
Harry Mellor and Claude Opus 5
8c1557a79c
Add pydocstyle to the ruff rules ( #52136 )
...
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com >
Signed-off-by: Harry Mellor <hej.mellor@gmail.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-16 16:44:29 +00:00
18553c5c9f
[Kernel] Use Murmur3 RNG for Gumbel sampling ( #51367 )
...
Signed-off-by: freyfwt <110148731+freyfwt@users.noreply.github.com >
Signed-off-by: freyfwt <freytian1996@gmail.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com >
2026-09-15 23:52:26 -07:00
Giancarlo Delfin
85c1f58d50
[BugFix][Model Runner V2][Spec Decode] Fix decode instance's multi-layer MTP kv caches during P/D ( #55055 )
...
Signed-off-by: Giancarlo Delfin <gdelfin@inferact.ai >
2026-09-15 17:31:25 -07:00
Nick Hill
f2aad6aa70
[MRV2] Buffer util simplifications ( #56888 )
...
Signed-off-by: Nick Hill <nickhill123@gmail.com >
2026-09-15 20:36:51 +00:00