lesj0610
6c5552776b
Merge remote-tracking branch 'origin/main' into lesj/qwen4exp-bugfixes
...
Both sides edited the same import block in the Qwen4Exp NVIDIA and AMD
models and nothing else collided. This branch adds
`from ..common.mtp import make_mtp_hidden_buffer`, the helper the MTP
buffer extraction calls; upstream ec4a3a5370 widened the `..config`
import to `ATTENTION_LAYER_TYPES, QSA_LAYER_TYPE, Qwen4ExpConfig` for the
layer-type constants it introduced. The two changes are independent, so
the resolution keeps both lines. Every symbol still has a use outside the
import in both files.
Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com >
2026-09-17 08:16:59 +09:00
Woosuk Kwon
30b847c1fa
[Perf][DSV4.1] Remove MegaMoE padding and shared padding workaround ( #57204 )
...
Signed-off-by: Woosuk Kwon <woosuk@inferact.ai >
2026-09-16 19:09:30 +00:00
Shanshan Shen
bc0f47cd03
[ROCm][Bugfix] Revert #56433 + #51692 to fix accuracy breakdown for DeepSeek-V4 ( #57132 )
...
Signed-off-by: Shanshan Shen <87969357+shen-shanshan@users.noreply.github.com >
2026-09-16 18:58:23 +00:00
9f9e1dac26
[Bugfix][Model] Restore causal image SWA for DeepSeek V4.1 ( #57152 )
...
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Signed-off-by: Isotr0py <Isotr0py@outlook.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: Isotr0py <Isotr0py@outlook.com >
2026-09-16 18:09:00 +00: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
Cyrus Leung
0b9e018fb9
[MM] Further cleanup _apply_hf_processor_main ( #53610 )
...
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk >
2026-09-16 10:21:00 -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
dff1bde84d
[Model] Qwen4Exp: fp8_e4m3 main KV cache on the QSA path ( #55557 )
...
Signed-off-by: Andrea Semeraro <andrea.semeraro@sezione1.it >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com >
2026-09-16 15:07:52 +00:00
ec4a3a5370
[CI] Bump Transformers version to 5.17.0 ( #56108 )
...
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
2026-09-16 06:34:16 -07:00
sashko-zakharchuk and zjy0516
f8b5c11468
[Bugfix][Kimi-K3] Do not classify a stateless first chunk as a decode ( #51483 )
...
Signed-off-by: Oleksandr Zakharchuk <oleksandr.zakharchuk@gmail.com >
Signed-off-by: zjy0516 <riverclouds.zhu@qq.com >
Co-authored-by: zjy0516 <riverclouds.zhu@qq.com >
2026-09-16 21:24:48 +08:00
lesj0610
e582b9f4a2
Merge remote-tracking branch 'origin/main' into sync/lesj/qwen4exp-bugfixes
...
Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com >
2026-09-16 20:33:18 +09:00
d6a1677d55
[Model][DSv4.1] FlashMLA mega attention and the NVFP4 compressed KV cache ( #56935 )
...
Signed-off-by: Yongye Zhu <yongye@inferact.ai >
Signed-off-by: 云挚 <ningyunxiao.nyx@antgroup.com >
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com >
Co-authored-by: Yongye Zhu <yongye@inferact.ai >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
Co-authored-by: Yunxiao Ning <73625538+foraxe@users.noreply.github.com >
Co-authored-by: AI Assistant <noreply@openai.com >
2026-09-16 03:07:50 -07:00
Canlin Guo and Codex
03f67b3ad1
[Perf][DSV4.1] Pad shared experts for native MegaMoE fusion ( #56568 )
...
Signed-off-by: Canlin <canlinguosdu@gmail.com >
Co-authored-by: Codex <noreply@openai.com >
2026-09-16 17:08:42 +08:00
Jiangyun Zhu and TJian
4fe9e6f6e5
[Refactor][GLM-5.3-Flash] Move sparse_attn_indexer_kpool into the model folder and split AMD/NVIDIA ( #55358 )
...
Signed-off-by: zjy0516 <riverclouds.zhu@qq.com >
Co-authored-by: TJian <tunjian.tan@embeddedllm.com >
2026-09-16 05:50:35 +00:00
lesj0610
21d2dd56d8
Merge remote-tracking branch 'origin/main' into sync/lesj/qwen4exp-bugfixes
...
Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com >
2026-09-16 13:41:12 +09:00
6ecd97f1b7
[Perf][DSpark] Add KV-only context insertion across V4.1 cache formats ( #56441 )
...
Signed-off-by: 0z5a <0z5a@users.noreply.github.com >
Signed-off-by: Yongye Zhu <yongye@inferact.ai >
Co-authored-by: 0z5a <0z5a@users.noreply.github.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: Yongye Zhu <zyy1102000@gmail.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-15 21:34:55 -07:00
maithilijoshi20
22bb158c21
[Bugfix][ROCm] Fix MiniMax-M3 fused MXFP8 block scale ( #53674 )
...
Signed-off-by: maithilijoshi20 <97733343+maithilijoshi20@users.noreply.github.com >
2026-09-15 21:59:43 -05:00
Colin Z and Andreas Karatzas
c8d1cf077a
[ROCm] [Bugfix] Enable Load and Inference of GLM-5.3-Flash Quark MXFP4 Checkpoint ( #56176 )
...
Signed-off-by: Colin Zeng <Colin.Zeng@amd.com >
Co-authored-by: Andreas Karatzas <akaratza@amd.com >
2026-09-16 01:25:29 +00:00
Jared Wen and Claude Fable 5.1
1257512305
[DSA] Wire DeepGEMM sparse MQA logits into the DeepSeek V4.1 indexer ( #56254 )
...
Signed-off-by: Jared Wen <w13431838023@gmail.com >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-15 14:07:14 -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
Wentao Ye and mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
18f8aa0465
[Refactor] Remove dead kernel code ( #56845 )
...
Signed-off-by: yewentao256 <zhyanwentao@126.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-09-15 13:17:53 -07:00
bb55077411
[Perf][Kernel] Integrate Mega-mHC from DeepGEMM for DeepSeek V4.1 (reopen of #56255 ) ( #56962 )
...
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com >
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Co-authored-by: Yongye Zhu <zyy1102000@gmail.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
Co-authored-by: Thien Tran <gau.nernst@yahoo.com.sg >
2026-09-15 04:01:06 -07:00
073f883b56
[Perf][DSpark] Collapse DeepSeek-V4.1 draft states before SP all-gather ( #56903 )
...
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: Woosuk Kwon <woosuk@inferact.ai >
2026-09-15 02:58:57 -07:00
Yongye Zhu and Claude Opus 5
8263ea12bd
[Build] Move DeepGEMM pin to the vLLM fork and update the Mega MoE call convention ( #56876 )
...
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-15 00:57:18 -07:00
e6eb0d120c
[Model][DSv4.1] Store the whole KV in MXFP8 (FlashMLA V4.1 record) ( #56893 )
...
Signed-off-by: Yongye Zhu <yongye@inferact.ai >
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com >
Co-authored-by: Yongye Zhu <yongye@inferact.ai >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-14 20:12:55 -07:00
Fangzhou Ai and Cursor
00972dfd72
[ROCm][DSV4.1][Perf] Fold the mHC post step into the delayed pre projection ( #56513 )
...
Signed-off-by: Fangzhou Ai <fangzhou@semianalysis.ai >
Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-14 16:44:56 -05:00
sychen52
7702ee87db
[Bugfix][DSA] Write nvfp4_ds_mla from the fused norm+rope kernel ( #55538 )
...
Signed-off-by: Shiyang Chen <shiychen@nvidia.com >
2026-09-15 00:25:33 +04:00
Yongye Zhu
5372e72a98
[Perf][DSv4.1] Fold the mHC post block into the delayed pre projection ( #56633 )
...
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com >
2026-09-14 18:57:37 +00:00
3f55ad2f07
[Qwen3.8-Flash-Next] Fuse PLE residual and QSA output gate ( #55309 )
...
Signed-off-by: Canlin <canlinguosdu@gmail.com >
Signed-off-by: zjy0516 <riverclouds.zhu@qq.com >
Co-authored-by: zjy0516 <riverclouds.zhu@qq.com >
Co-authored-by: Kimi Code <noreply@moonshot.cn >
2026-09-14 12:16:25 +00:00
Shanshan Shen
a6c5d6d0fc
[ROCm][Perf] Enable CSA multi-stream overlap for DeepSeek-V4 ( #51794 )
...
Signed-off-by: shen-shanshan <467638484@qq.com >
Signed-off-by: Shanshan Shen <87969357+shen-shanshan@users.noreply.github.com >
2026-09-14 11:21:30 +00:00
b443c1cc4e
[Perf][GLM-5.3-Flash] Use FlashKDA for KDA chunked prefill (1.7-3.8x faster than the Triton chunk path) ( #55737 )
...
Signed-off-by: Jared Wen <jaredwen@inferact.ai >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-09-14 08:36:19 +00:00
Bugen Zhao
cf1584f373
[Refactor] Normalize DeepSeek V4.1 model package naming ( #56741 )
...
Signed-off-by: Bugen Zhao <i@bugenzhao.com >
2026-09-13 23:17:50 -07:00
lesj0610
a66a3e1b4e
Merge remote-tracking branch 'origin/main' into sync/lesj/qwen4exp-bugfixes
...
Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com >
2026-09-14 14:36:05 +09:00
Fangzhou Ai
dfa1984e58
[ROCm][Perf] Tune MiniMax-M3 decode top-k for short contexts ( #55235 )
...
Signed-off-by: fai <fangzhouai@gmail.com >
2026-09-13 21:36:27 -05:00
lesj0610 and Claude Opus 5
3b1911c0ca
[Bugfix][Model] Fix Qwen4Exp MTP buffer placement, config parsing, and Triton warmup
...
Three initialization and config defects found serving Qwen4Exp, each with a
regression test.
**The MTP hidden buffer lands on the ambient device.** torch.empty for the
spec-decode hidden buffer takes no device, so it follows whatever device is
current rather than vllm_config.device_config.device. The allocation was
duplicated verbatim in the NVIDIA and AMD backends; it moves to
common/mtp.py so the two cannot drift, and the caller passes is_last_rank
rather than reaching for the process group from shared code.
**M-RoPE keys are reported as unrecognized.** Qwen4Exp drives M-RoPE through
mrope_section and mrope_interleaved, which transformers' rope validator does
not know for rope_type="default", so every load warns about a configuration
the model genuinely uses. Declare them at rope validation on the text config
and on the outer config that mirrors it; every other key still warns.
**transformers' layer_types spelling is unread.** Its Qwen4Exp config
canonicalizes "full_attention" entries to "qwen_sparse_attention" in memory,
so checkpoints re-exported through it serialize that name. vLLM keys QSA off
"full_attention" plus indexer_n_heads, so map the spelling back.
**Qwen4Exp is missing from the Triton warmup set.** Its GDN prefill and QSA
run on other backends, but the kernels this warmup covers -- the gated RMS
norm, the causal conv, the post-conv preparation, the decode state update --
are Triton whichever prefill kernel is chosen, so they compile on the first
prompt instead. qwen4_exp_mtp stays out: kernel_warmup passes the worker's
own model_config, which is the target model's.
tests/models/qwen4_exp/test_config.py: 15 passed.
tests/model_executor/test_qwen_triton_warmup.py: 6 passed.
ruff check, ruff format --check and mypy (Python 3.10) report what they
already report on the base commit.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com >
2026-09-14 07:25:01 +09:00
f09c52a587
[ROCm][Performance] Avoid blocking MiniMax M3 scalar upload ( #56170 )
...
Signed-off-by: fai <fangzhouai@gmail.com >
Co-authored-by: OpenAI Codex <noreply@openai.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-09-13 16:56:02 +00:00
linitra24
dd4c841070
[LoRA] Add LoRA support for DeepSeek-V4 Flash Vision ( #55897 )
...
Signed-off-by: linitra24 <renshuang.zhou@daocloud.io >
2026-09-13 07:10:54 -07:00
d2d649e674
[DS V4.1][Engram] Support async prefetch for offloaded engram lookups and engram DP sharding ( #56512 )
...
Signed-off-by: Juntian Liu <Juntianl777@gmail.com >
Signed-off-by: Woosuk Kwon <woosuk@inferact.ai >
Co-authored-by: Roger Wang <hey@rogerw.io >
Co-authored-by: ywang96 <>
Co-authored-by: Woosuk Kwon <woosuk@inferact.ai >
Co-authored-by: Codex <noreply@openai.com >
2026-09-13 02:44:23 -07:00
Woosuk Kwon
e7a3963339
[Bugfix] Avoid repeated dummy initialization and random CPU Engram fills ( #56682 )
...
Signed-off-by: Woosuk Kwon <woosuk@inferact.ai >
2026-09-13 02:23:20 -07:00
Roberto L. Castro and Codex
e52be1a62d
[9/N][warmup][DSv4] Migrate MHC TileLang kernels ( #50178 )
...
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com >
Signed-off-by: Roberto L. Castro <38211239+LopezCastroRoberto@users.noreply.github.com >
Co-authored-by: Codex <codex@openai.com >
2026-09-12 17:25:23 -07:00
aed894c190
[6/N][warmup][DSv4] Migrate sampling, and DFlash JIT kernels ( #56323 )
...
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com >
Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: OpenAI Codex <codex@openai.com >
2026-09-12 17:24:24 -07:00
ebe1dec2da
[PCP][DCP] Enable PCP+DCP on sparse-MLA models ( #56157 )
...
Signed-off-by: patryk.saffer <patryk.saffer@blc-login-1.blc1.mistralcompute.ai >
Signed-off-by: patryk.saffer <patryk.saffer@blc-login-0.blc1.mistralcompute.ai >
Signed-off-by: PatrykSaffer <patryk.saffer@mistral.ai >
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: patryk.saffer <patryk.saffer@blc-login-1.blc1.mistralcompute.ai >
Co-authored-by: patryk.saffer <patryk.saffer@blc-login-0.blc1.mistralcompute.ai >
Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: Patryk Saffer <PatrykSaffer@users.noreply.github.com >
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-12 23:24:44 +00:00
Roberto L. Castro
c377114636
[Bugfix][CI] Update CuTeDSL indexer Q sentinel test for migrated wrappers ( #56594 )
...
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com >
2026-09-12 09:12:58 -07:00
Isotr0py
30118ba27d
[DSV4.1] Remove compressor-aware image sentinel token padding ( #56554 )
...
Signed-off-by: Isotr0py <Isotr0py@outlook.com >
2026-09-12 00:07:36 -07:00
d43bb2f37f
[3/N] HiSparse: host-resident sparse-MLA decode hot-buffering ( #53781 )
...
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com >
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com >
Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com >
Signed-off-by: Matthew Bonanni <matthew@neuralmagic.com >
Signed-off-by: Nicolò Lucchesi <nicolo.lucchesi@mistral.ai >
Co-authored-by: OpenAI Codex <codex@openai.com >
Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com >
Co-authored-by: Lucas Wilkinson <lwilkinson@neuralmagic.com >
Co-authored-by: Nicolò Lucchesi <nicolo.lucchesi@mistral.ai >
Co-authored-by: OpenAI Codex <noreply@openai.com >
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com >
2026-09-12 00:36:47 -04:00
Roberto L. Castro and Codex
120ec4ebd2
[5/N][warmup][DSv4] Migrate NVIDIA CuTeDSL attention kernels ( #53566 )
...
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com >
Co-authored-by: Codex <codex@openai.com >
2026-09-12 00:05:59 -04:00
Divakar Verma
06e57f622c
[ROCm][Kimi-K3] Fix non-contiguous state_indices crash and GPU-sync assert in fused KDA/MLA prefill ( #56526 )
...
Signed-off-by: Divakar Verma <divakar.verma@amd.com >
2026-09-11 20:17:39 -05:00
Fangzhou Ai and Fangzhou Ai
46d2b23ac5
[ROCm][DSV4.1][Perf] Use AITER mHC for the delayed pre block ( #56503 )
...
Signed-off-by: Fangzhou Ai <fangzhou@semianalysis.ai >
Co-authored-by: Fangzhou Ai <fangzhou@semianalysis.ai >
2026-09-12 00:35:48 +00:00
chengchengpei and Tyler Michael Smith
0c1e89ceb9
[Bugfix][Kimi-K3] Fix KDA projection overlap on Hopper ( #55426 )
...
Signed-off-by: Chengcheng Pei <5881383+chengchengpei@users.noreply.github.com >
Co-authored-by: Chengcheng Pei <5881383+chengchengpei@users.noreply.github.com >
Co-authored-by: Tyler Michael Smith <tlrmchlsmth@gmail.com >
2026-09-11 19:07:30 +00:00
6fe67cbbf3
[Spec][V2] Support MTP speculative decoding under pipeline parallelism ( #46994 )
...
Signed-off-by: Chris Eastwood <chris.eastwood@pwn4g3.dev >
Signed-off-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: Nick Hill <nickhill123@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-09-11 17:55:21 +00:00