Repository navigation
[Perf][Kernel] Integrate DeepSelect TopK for the DSA sparse indexer - #56464
Conversation
2ba2285 to
faca1a9
Compare
Vendor DeepSeek's DeepSelect top-k kernels (MIT) via CMake FetchContent as a new optional `vllm._deepselect_C` extension (sm_100a/sm_103a only), and add a `sparse_indexer_topk_backend` knob to KernelConfig (--sparse-indexer-topk-backend, default "auto"). In "auto" mode the DSA indexer decode path dispatches to DeepSelect when the problem is large enough (num_rows >= 32, topk <= 4096, fp32/bf16, 1024B-aligned rows); smaller shapes keep the existing cooperative/persistent/per-row kernels, which win there. "deep_select" forces it (fail-fast if unavailable), "vllm" forces the existing kernels. On a GB200 with DeepSeek-V4.1-Flash shapes (index_topk=512): - bf16, bs=256, kv=1M: 119us vs 613us (top_k_per_row_decode) / 529us (flashinfer top_k) / 1855us (torch.topk), ~4.5 TB/s effective BW - fp32, bs=256, kv=1M: 193us vs 613us (vLLM) / 560us (flashinfer) - small batch (bs<=8) keeps existing kernels via the auto threshold Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
faca1a9 to
98d29b2
Compare
Point the DeepSelect FetchContent at the stable-abi branch (ZJY0516/DeepSelect), which replaces the pybind11 binding with STABLE_TORCH_LIBRARY + a hand-written PyInit named after TORCH_EXTENSION_NAME: - Drop the libtorch_python link and KERUTILS_IS_BUILD_ON_CUDA flag (no longer needed without pybind11) - Build _deepselect_C with USE_SABI + TORCH_TARGET_VERSION=2.10 and define USE_CUDA for the C-shim CUDA APIs - deep_select_topk.py: dispatch through torch.ops.deep_select after importing vllm._deepselect_C for op registration Tested: pytest tests/kernels/test_top_k_per_row.py -k deep_select (27 passed) on GB200, torch 2.13.0+cu130. Co-authored-by: Kimi Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
52fa08a to
9e5062c
Compare
|
Thanks for the PR β this is a clean, well-tested integration: DeepSelect is vendored via FetchContent (pinned at Correctness findingsMajor
Minor
Verified OK (no action needed)
Style findingsMinor
Nit
(Checked and clean: ruff E/F/UP/B/ISC/SIM/I/G/INP with 88-col limit β no violations; import ordering; SPDX headers; the CMake Merge guidanceBlocking: the |
has_device_capability(100) is a >= check, so it also lets SM110/SM120 through; use is_device_capability_family(100) to match exactly the 10.x devices (sm_100a/sm_103a) the extension is built for. Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
Reorganize per review feedback: the sparse indexer's top-k stage is a backend-selection concern, not a DeepSelect wrapper. indexer_topk.py now hosts every decode top-k kernel entry point (DeepSelect, cooperative, persistent, per_row, FlashInfer ragged, torch reference) and the SparseIndexerTopk class that selects among them; sparse_attn_indexer.py just calls get_sparse_indexer_topk().run(...). Named indexer_topk.py to distinguish from the sampler top-k paths. Also drop the is_available() wrapper (use DEEP_SELECT_AVAILABLE directly) and rename supports() -> is_deep_select_supported(). Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
Match the vLLM convention for compute stages (CustomOp/attention impls). Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
- Construct per call instead of a process-wide singleton (probing is all module-level constants / cached platform calls) - Gate DeepSelect on the SM100 device family only, matching how cooperative_topk is gated; drop DEEP_SELECT_AVAILABLE and the redundant availability assert - Inherit torch.nn.Module so the dispatcher is called directly Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
Replace the benchmarks/kernels script with test_sparse_indexer_topk_auto_is_fastest, which times every backend under CUDA graph replay across all default capture sizes <= 256 (plus short/long context grids) for the production shapes of DeepSeek-V4-Flash, DeepSeek-V4.1-Flash (topk 512), DeepSeek-V4-Pro (1024) and GLM-5.3 (2048), and asserts "auto" stays within 1.25x+2us of the fastest backend. The test caught two real heuristic gaps, fixed in _resolve_auto: - topk=2048 (GLM-5.3): cooperative wins everywhere within its 64-row limit (DeepSelect falls back to its maxtopk-4096 instantiation) - topk=2048 past 64 rows: FlashInfer's ragged top-k wins at 64K-128K context, persistent_topk below 64K; DeepSelect keeps > 128K All breakpoints are named module-level constants with the measured provenance in comments. Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
c128088 to
24422c0
Compare
|
Update: dropped the |
|
/ci run |
|
β
Triggered Buildkite CI #88583 for commit |
|
Please make the FlashInfer import in In the installed FlashInfer The CI evidence is consistent with this:
Suggested fix: follow the existing lazy import pattern in |
Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
auto no longer considers deep_select/flashinfer/torch: it is exactly the prior cooperative -> persistent -> per_row chain, so default behavior is unchanged. DeepSelect is enabled via --sparse-indexer-topk-backend deep_select. This drops the measured-breakpoint heuristic constants and the auto-is-fastest perf test; the resolution test now pins that auto never selects an opt-in backend on its own. Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
flashinfer/__init__ builds a CompilationContext that calls torch.cuda.get_device_capability() when FLASHINFER_CUDA_ARCH_LIST is unset, so a module-level import initializes CUDA in the parent process and every forked engine/worker dies with "Cannot re-initialize CUDA in forked subprocess" (CI #88583: PyTorch Fullgraph, E2E Core, L4 Distributed shards). Probe availability via has_flashinfer() (find_spec only, no import) and resolve top_k_ragged_transform at execution time. Verified: importing sparse_attn_indexer leaves torch.cuda.is_initialized() == False. Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
|
/ci run |
|
β
Triggered Buildkite CI #88603 for commit |
The 10.0a/10.3a pair never produced sm_103a cubins in practice: torch's and the CI image's arch lists contain 10.0 but not 10.3, so the loose intersection dropped 10.3a and the resulting wheel only carries sm_100a binaries, which cannot load on SM103 (B300). A single 10.0f family build covers both GB200 and B300 and halves the extension's compile time. Verified on GB200: same perf (fp32 256x1M: 191.6us vs 191.1us), all indexer top-k tests pass. Co-authored-by: Kimi Code <noreply@moonshot.ai> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
|
/ci run |
|
β
Triggered Buildkite CI #88616 for commit |
β¦llm-project#56464) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: Roger Wang <hey@rogerw.io> Co-authored-by: Kimi Code <noreply@moonshot.ai> Co-authored-by: Roger Wang <hey@rogerw.io>
β¦llm-project#56464) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: Roger Wang <hey@rogerw.io> Co-authored-by: Kimi Code <noreply@moonshot.ai> Co-authored-by: Roger Wang <hey@rogerw.io>
* [BugFix] Fix DP token padding in dflash attention metadata (vllm-project#56181) Signed-off-by: Giancarlo Delfin <gdelfin@inferact.ai> * [ROCm][Kernel][DSV4] Remove tl.constexpr to avoid cold-compile churn in indexer gather kernel (vllm-project#56153) Signed-off-by: xawang <xawang@amd.com> * [ROCm][CI] Extend timeout for `Basic Models (other)` (vllm-project#56522) Signed-off-by: Micah Williamson <micah.williamson@amd.com> * [Rust Frontend][gRPC] Surface engine generation errors (vllm-project#56405) Signed-off-by: Alec Flowers <aflowers@nvidia.com> Co-authored-by: Codex <noreply@openai.com> * [KDA] Update flashKDA to support bf16 checkpoint state (vllm-project#56485) Signed-off-by: wzhao18 <wzhao18.sz@gmail.com> * [ROCm][DSV4.1][Perf] Use AITER mHC for the delayed pre block (vllm-project#56503) Signed-off-by: Fangzhou Ai <fangzhou@semianalysis.ai> Co-authored-by: Fangzhou Ai <fangzhou@semianalysis.ai> * [Bugfix][NIXL] Don't evict a remote engine a transfer is still reading from (vllm-project#54689) Signed-off-by: Yizheng Jiao <jyizheng@gmail.com> * [CI] Give every Buildkite step an explicit key, and a hook to enforce it (vllm-project#56329) Signed-off-by: Tahsin Tunan <tahsintunan@gmail.com> * [ROCm][Kimi-K3] Fix non-contiguous state_indices crash and GPU-sync assert in fused KDA/MLA prefill (vllm-project#56526) Signed-off-by: Divakar Verma <divakar.verma@amd.com> * [XPU][CI] skip DeepSeek-V4.1-Flash in `test_tensor_schema.py` (vllm-project#56463) Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com> * [Rust Frontend][Multimodal] Accept preprocessed multimodal gRPC features (vllm-project#55047) Signed-off-by: Biswa Panda <biswa.panda@gmail.com> Signed-off-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Codex <noreply@openai.com> * [CI] Bump CUTLASS DSL to 4.7 (vllm-project#54927) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Co-authored-by: Codex <codex@openai.com> * Revert "[Agents] Link Triton skill to JIT kernel warmup guide" (vllm-project#56546) * [Rust Frontend] Honor HF revisions, offline mode, and cache directory (vllm-project#56386) Signed-off-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Codex <noreply@openai.com> * [5/N][warmup][DSv4] Migrate NVIDIA CuTeDSL attention kernels (vllm-project#53566) Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <codex@openai.com> * [3/N] HiSparse: host-resident sparse-MLA decode hot-buffering (vllm-project#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> * [Rust Frontend] Support `generation` blocks in HF chat template (vllm-project#56378) Signed-off-by: Bugen Zhao <i@bugenzhao.com> * [Bugfix][Spec Decode] Avoid fastsafetensors deadlock for PP draft models (vllm-project#54416) Signed-off-by: Canlin <canlinguosdu@gmail.com> Co-authored-by: Codex <noreply@openai.com> * [Bugfix][Examples] Launch prefill and decode concurrently in NixlPushConnector demo (vllm-project#55088) Signed-off-by: junuxyz <216036880+junuxyz@users.noreply.github.com> * [DSV4.1] Remove compressor-aware image sentinel token padding (vllm-project#56554) Signed-off-by: Isotr0py <Isotr0py@outlook.com> * [ROCm][CI] Stage F gating (vllm-project#55252) Signed-off-by: Andreas Karatzas <akaratza@amd.com> Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Frontend] create unified Cohere parser (vllm-project#56392) Signed-off-by: walterbm <walter.beller.morales@gmail.com> Co-authored-by: Flora Feng <4florafeng@gmail.com> * [CI] Sample GPU utilization and memory alongside test timelines (vllm-project#56541) Signed-off-by: khluu <khluu000@gmail.com> Co-authored-by: Codex <noreply@openai.com> * [Build] Define _USE_MATH_DEFINES for FlashMLA targets (vllm-project#54007) Signed-off-by: arcusbuilds <srijankeshri007@gmail.com> Co-authored-by: Shengqi Chen <harry-chen@outlook.com> * [CI/Build] Give the Torch ABI audit time to start (vllm-project#56596) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [XPU][CI] Remove pip install dependency in test yaml files (vllm-project#55171) Signed-off-by: Kunshang Ji <jikunshang95@gmail.com> * [Nano-Nemotron] Fix Nano-Nemotron precomputed multimodal embeddings (vllm-project#56398) Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> * [Bugfix] Initialize data parser in Nano-Nemotron audio test (vllm-project#56401) Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> * [Refactor][ROCm] Migrate the RDNA3 W4A16 MoE to the oracle/experts paβ¦ (vllm-project#55522) Signed-off-by: JartX <sagformas@epdcenter.es> * [XPU][CI] Skip ROCm test on non-ROCm platforms (vllm-project#56555) Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com> * [Perf] Fuse DSV4.1 input metadata preparation with Triton (vllm-project#56562) * [Elastic EP] Reuse CUDA graphs across reconfiguration (vllm-project#54985) * [Frontend][Rust] Reject empty structured-output values (vllm-project#54821) Signed-off-by: Clinton Thomas <1033162+KernelClint@users.noreply.github.com> Co-authored-by: Lucas Bourtoule <35483370+dhalf@users.noreply.github.com> * [Bugfix][CI] Update CuTeDSL indexer Q sentinel test for migrated wrappers (vllm-project#56594) Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> * Add @arpera to CODEOWNERS of Structured Output (vllm-project#56501) Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com> * [CI/Build] Add DSv4.1 auto-label rules and narrow DSv4 (vllm-project#56332) Signed-off-by: Joe Cotant <joe@inferact.ai> Co-authored-by: Claude <noreply@anthropic.com> * [Bugfix][CI] skip conftest for NPU compatibility test (vllm-project#55799) Signed-off-by: yangzeyu <532183776@qq.com> * [4/N] Expose HiSparse cache metrics via KV connector stats (vllm-project#56061) Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Bugfix] Fix DeepGEMM FP8 warmup coverage (vllm-project#56452) Signed-off-by: Ayushman Singh <40520701+ayush1399@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * [CI] Fix Qwen3 Omni DSpark load test config (vllm-project#56600) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [CI] Update DeepSeek V4.1 MegaMoE routing test (vllm-project#56599) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [watermarking] Dual-key gumbel-max watermarking for speculative decoding support (vllm-project#56122) Signed-off-by: Raphael Rialland <raphael.rialland@mistral.ai> Signed-off-by: Simon Veitner <sveitner@redhat.com> Signed-off-by: Tomas Ruiz <tomas.ruiz.te@gmail.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Tomas Ruiz <tomas.ruiz.te@gmail.com> * [ROCm][Bugfix] Fix elastic EP scaling deadlock (vllm-project#56610) Signed-off-by: Matthew Wong <Matthew.Wong2@amd.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * [PCP][DCP] Enable PCP+DCP on sparse-MLA models (vllm-project#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> * [5/N] Share HiSparse host cache across TP ranks (reopens vllm-project#52760) (vllm-project#56629) Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Chao Lei <leichao139636@163.com> Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Chao Lei <leichao139636@163.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Matthew Bonanni <mbonanni@redhat.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: OpenAI Codex <noreply@openai.com> * [6/N][warmup][DSv4] Migrate sampling, and DFlash JIT kernels (vllm-project#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> * [9/N][warmup][DSv4] Migrate MHC TileLang kernels (vllm-project#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> * [Misc] Clean up fast loader daemon quant method verification (vllm-project#55656) Signed-off-by: Isotr0py <Isotr0py@outlook.com> * [Kernel][Perf][Quantization] Fix odd-row performance cliff in per-token-group quantization (vllm-project#56478) Signed-off-by: Ayushman Singh <ayush1399@users.noreply.github.com> Co-authored-by: Ayushman Singh <ayush1399@users.noreply.github.com> * [ROCm] Auto-enable breakable CUDA graphs for DeepseekV41ForCausalLM (vllm-project#56349) Signed-off-by: Markus Hartikainen <markus.hartikainen@amd.com> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com> * [MRV2] Revert explicit Triton JIT warmup migration (vllm-project#56654) Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> Co-authored-by: OpenAI Codex <codex@openai.com> * [Bugfix][Benchmark] Make streaming TTFT/E2E latency accounting consistent across endpoints (vllm-project#55508) Signed-off-by: surajm20061998 <surajm20061998@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> * [Pooling] Support prompt embeddings in MRV2 decoder pooling (vllm-project#56639) Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> * [Bugfix][KV Offload] Submit CPU stores on no-forward steps (vllm-project#56621) Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> * [CI] Fix NIXL transfer-rank geometry fixture (vllm-project#56672) Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> * [Perf][Kernel] Integrate DeepSelect TopK for the DSA sparse indexer (vllm-project#56464) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: Roger Wang <hey@rogerw.io> Co-authored-by: Kimi Code <noreply@moonshot.ai> Co-authored-by: Roger Wang <hey@rogerw.io> * [Bugfix][Gemma4] Keep image kwargs out of video preprocessing (vllm-project#56652) Signed-off-by: Ylean <61880605+Woolgathererer@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com> * [Bugfix] Avoid repeated dummy initialization and random CPU Engram fills (vllm-project#56682) Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> * [DS V4.1][Engram] Support async prefetch for offloaded engram lookups and engram DP sharding (vllm-project#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> * [Bugfix][EPD] Preserve explicit multimodal UUIDs with caches disabled (vllm-project#56432) Signed-off-by: Tianyu Guo <guoty@inferact.ai> * [Core] Fix ValueError on KV load failure with a hybrid KV cache (vllm-project#50388) Signed-off-by: Kebe <mail@kebe7jun.com> * [Pooling] Report actual input token usage for scoring APIs (vllm-project#56573) Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> * [XPU][CI] fix jit_warmup_triton_launcher (vllm-project#56670) Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com> * [LoRA] Add LoRA support for DeepSeek-V4 Flash Vision (vllm-project#55897) Signed-off-by: linitra24 <renshuang.zhou@daocloud.io> * [Test][Determinism] Cover VLM batch invariance in default execution mode (vllm-project#56528) Signed-off-by: Shenglei Fu <sfu@confluent.io> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> * [Attention] Add Triton/FlashInfer composite for multimodal prefix attention (vllm-project#56305) Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Bugfix] Detect unloaded NVFP4 weight scales with a NaN sentinel (vllm-project#52501) Signed-off-by: pavelzak <pavel.zakharov@gmail.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [ROCm][Performance] Avoid blocking MiniMax M3 scalar upload (vllm-project#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> * [Bugfix] Skip Triton autotune inspection without Triton (vllm-project#56676) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> * [CI] Initialize warmup registry in V2 QSA runner fixture (vllm-project#56707) Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Perf] Avoid redundant conversions in FP8 dummy initialization (vllm-project#56688) Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> Co-authored-by: OpenAI Codex <noreply@openai.com> * [NIXL][PCP][DCP] Expose PCP producer KV shards as transfer ranks (vllm-project#56645) Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <noreply@openai.com> * [Bugfix][PCP][DCP] Respect interleave in indexer KV gather mapping (vllm-project#56715) Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <noreply@openai.com> * [Warmup] Gemma 4 de-JITification (vllm-project#55768) Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <noreply@openai.com> * [Attention] Remove DCP indexer interleave guard and test TP1 output parity (vllm-project#55802) Signed-off-by: Stu Cao <stucao@Stus-MacBook-Pro.local> Signed-off-by: <> Signed-off-by: Summer Yang <girasoleyang@gmail.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Stu Cao <stucao@Stus-MacBook-Pro.local> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Summer Yang <girasoleyang@gmail.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: OpenAI Codex <noreply@openai.com> * [Performance][EPD] Reduce Python proxy serialization overhead (vllm-project#56657) Signed-off-by: Tianyu Guo <guoty@inferact.ai> * [DSv4 Bug] fix dsv4 start up error `NotImplementedError: DeepSeek V4 MegaMoE currently requires expert parallel` (vllm-project#55914) Signed-off-by: yewentao256 <zhyanwentao@126.com> * [Perf] Parallelize mHC pre-norm JIT warmup (vllm-project#56683) Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> * [XPU][CI] update test requirements (vllm-project#56704) Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com> * [Bugfix][KV Connector] MooncakeStore: exclude non-prefix-cacheable (QSA ring) groups; fix align-mode check (vllm-project#55027) Signed-off-by: Zhewen Li <zhewenli@inferact.ai> Co-authored-by: Zhewen Li <zhewenli@inferact.ai> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> * [ROCm][Perf] Tune MiniMax-M3 decode top-k for short contexts (vllm-project#55235) Signed-off-by: fai <fangzhouai@gmail.com> * [Bugfix][Frontend] Support Responses text types in DeepSeek V4.1 (vllm-project#56299) Signed-off-by: CedricHuang <38417461+CedricHwong@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Fast Start] Fast loader support nnode>1 (vllm-project#55468) Signed-off-by: siyu <mg21330037@smail.nju.edu.cn> Co-authored-by: Isotr0py <2037008807@qq.com> * [CI][Bugfix] Complete FSE fixture R-SWA contract (vllm-project#56710) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> * [Rust Frontend] Support HTTP RL weight synchronization (vllm-project#56567) Co-authored-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Wang Zupeng <zupenwang@gmail.com> Signed-off-by: Bugen Zhao <i@bugenzhao.com> * Revert "[CI][XPU] Disable model runner V2 for XPU quantization test for some partially pre-quantized models" (vllm-project#56394) Signed-off-by: Chaojun Zhang <chaojun.zhang@intel.com> * [Bugfix][Multimodal] Validate base64 video payloads, matching image and audio (vllm-project#54323) Signed-off-by: hotragn <hotragn.pettugani_2024@woxsen.edu.in> Signed-off-by: Isotr0py <2037008807@qq.com> Co-authored-by: Isotr0py <2037008807@qq.com> * [CI] Move smaller H200 workloads to 18GB MIG slices (vllm-project#56695) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [CI] Collect GPU memory telemetry for MIG slices (vllm-project#56747) Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Signed-off-by: khluu <khluu000@gmail.com> Co-authored-by: OpenAI Codex <codex@openai.com> * [Frontend] Move grpc_server to launchers. (vllm-project#56746) Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io> * [2/2][Model Runner V2] FULL CUDA graph capture for microbatched steps (DBO) (vllm-project#51700) Signed-off-by: specture724 <specture724@gmail.com> Co-authored-by: Codex <noreply@openai.com> * [Bugfix][Beam Search] Respect skip_special_tokens during decoding (vllm-project#56211) Signed-off-by: lxy-alexander <lxy_alexander@outlook.com> Co-authored-by: OpenAI Codex <noreply@openai.com> * [Refactor] Normalize DeepSeek V4.1 model package naming (vllm-project#56741) Signed-off-by: Bugen Zhao <i@bugenzhao.com> * [Fast Start] Use GPU uuid as socket folder identifier (vllm-project#56669) Signed-off-by: Isotr0py <Isotr0py@outlook.com> * [Bugfix] Fix --lora-modules name=path parsing when path contains '=' (vllm-project#53353) Signed-off-by: hungh <hungh@nvidia.com> * [Bugfix][Rust Frontend] Preserve selected-token logprob mode (vllm-project#56406) Co-authored-by: OpenAI Codex <noreply@openai.com> Signed-off-by: Alec Flowers <aflowers@nvidia.com> * [Performance] Add Triton kernel for Gemma3n sparse GELU (vllm-project#48498) Signed-off-by: BWAAEEEK <jooho414@gmail.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk> * [CI] Update entrypoints CI (vllm-project#56763) Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io> * [Perf][GLM-5.3-Flash] Use FlashKDA for KDA chunked prefill (1.7-3.8x faster than the Triton chunk path) (vllm-project#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> * [CPU][Profiler] Group torch profiler tables by input shape when record_shapes is on (vllm-project#56016) Signed-off-by: Chinmay Kulkarni <Chinmay.Kulkarni@amd.com> Co-authored-by: Li, Jiang <jiang1.li@intel.com> * [Bugfix][CPU] Fix DeepSeek-R1 (FP8 MLA + MoE) correctness on CPU backend (vllm-project#56773) Signed-off-by: jiang1.li <jiang1.li@intel.com> * [Perf][GLM-5.3-Flash] Dense/masked-MHA sparse prefill for the NoPE (256, 0, 256) layout + skip the NoPE K concat (vllm-project#55738) Signed-off-by: Jared Wen <jaredwen@inferact.ai> Signed-off-by: Jared Wen <w13431838023@gmail.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --------- Signed-off-by: Giancarlo Delfin <gdelfin@inferact.ai> Signed-off-by: xawang <xawang@amd.com> Signed-off-by: Micah Williamson <micah.williamson@amd.com> Signed-off-by: Alec Flowers <aflowers@nvidia.com> Signed-off-by: wzhao18 <wzhao18.sz@gmail.com> Signed-off-by: Fangzhou Ai <fangzhou@semianalysis.ai> Signed-off-by: Yizheng Jiao <jyizheng@gmail.com> Signed-off-by: Tahsin Tunan <tahsintunan@gmail.com> Signed-off-by: Divakar Verma <divakar.verma@amd.com> Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com> Signed-off-by: Biswa Panda <biswa.panda@gmail.com> Signed-off-by: Bugen Zhao <i@bugenzhao.com> Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> 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> Signed-off-by: Canlin <canlinguosdu@gmail.com> Signed-off-by: junuxyz <216036880+junuxyz@users.noreply.github.com> Signed-off-by: Isotr0py <Isotr0py@outlook.com> Signed-off-by: Andreas Karatzas <akaratza@amd.com> Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com> Signed-off-by: walterbm <walter.beller.morales@gmail.com> Signed-off-by: khluu <khluu000@gmail.com> Signed-off-by: arcusbuilds <srijankeshri007@gmail.com> Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Signed-off-by: Kunshang Ji <jikunshang95@gmail.com> Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> Signed-off-by: JartX <sagformas@epdcenter.es> Signed-off-by: Clinton Thomas <1033162+KernelClint@users.noreply.github.com> Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com> Signed-off-by: Joe Cotant <joe@inferact.ai> Signed-off-by: yangzeyu <532183776@qq.com> Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai> Signed-off-by: Ayushman Singh <40520701+ayush1399@users.noreply.github.com> Signed-off-by: Raphael Rialland <raphael.rialland@mistral.ai> Signed-off-by: Simon Veitner <sveitner@redhat.com> Signed-off-by: Tomas Ruiz <tomas.ruiz.te@gmail.com> Signed-off-by: Matthew Wong <Matthew.Wong2@amd.com> 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: Chao Lei <leichao139636@163.com> Signed-off-by: Roberto L. Castro <38211239+LopezCastroRoberto@users.noreply.github.com> Signed-off-by: Ayushman Singh <ayush1399@users.noreply.github.com> Signed-off-by: Markus Hartikainen <markus.hartikainen@amd.com> Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> Signed-off-by: surajm20061998 <surajm20061998@gmail.com> Signed-off-by: Roger Wang <hey@rogerw.io> Signed-off-by: Ylean <61880605+Woolgathererer@users.noreply.github.com> Signed-off-by: Juntian Liu <Juntianl777@gmail.com> Signed-off-by: Tianyu Guo <guoty@inferact.ai> Signed-off-by: Kebe <mail@kebe7jun.com> Signed-off-by: linitra24 <renshuang.zhou@daocloud.io> Signed-off-by: Shenglei Fu <sfu@confluent.io> Signed-off-by: pavelzak <pavel.zakharov@gmail.com> Signed-off-by: fai <fangzhouai@gmail.com> Signed-off-by: Stu Cao <stucao@Stus-MacBook-Pro.local> Signed-off-by: <> Signed-off-by: Summer Yang <girasoleyang@gmail.com> Signed-off-by: yewentao256 <zhyanwentao@126.com> Signed-off-by: Zhewen Li <zhewenli@inferact.ai> Signed-off-by: CedricHuang <38417461+CedricHwong@users.noreply.github.com> Signed-off-by: siyu <mg21330037@smail.nju.edu.cn> Signed-off-by: Wang Zupeng <zupenwang@gmail.com> Signed-off-by: Chaojun Zhang <chaojun.zhang@intel.com> Signed-off-by: hotragn <hotragn.pettugani_2024@woxsen.edu.in> Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io> Signed-off-by: specture724 <specture724@gmail.com> Signed-off-by: lxy-alexander <lxy_alexander@outlook.com> Signed-off-by: hungh <hungh@nvidia.com> Signed-off-by: BWAAEEEK <jooho414@gmail.com> Signed-off-by: Jared Wen <jaredwen@inferact.ai> Signed-off-by: Chinmay Kulkarni <Chinmay.Kulkarni@amd.com> Signed-off-by: jiang1.li <jiang1.li@intel.com> Signed-off-by: Jared Wen <w13431838023@gmail.com> Signed-off-by: Dan Eble <Dan.Eble@amd.com> Co-authored-by: Giancarlo Delfin <32987265+TheEpicDolphin@users.noreply.github.com> Co-authored-by: amd-xavierwang <xavier.wang@amd.com> Co-authored-by: Micah Williamson <micah.williamson@amd.com> Co-authored-by: Alec <35311602+alec-flowers@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Wei Zhao <51183510+wzhao18@users.noreply.github.com> Co-authored-by: Fangzhou Ai <31551580+Fangzhou-Ai@users.noreply.github.com> Co-authored-by: Fangzhou Ai <fangzhou@semianalysis.ai> Co-authored-by: Yizheng Jiao <jyizheng@gmail.com> Co-authored-by: Tahsin Tunan <tahsintunan@gmail.com> Co-authored-by: Divakar Verma <137818590+divakar-amd@users.noreply.github.com> Co-authored-by: liuzhenwei <zhenweiliu@habana.ai> Co-authored-by: Biswa Panda <biswa.panda@gmail.com> Co-authored-by: Bugen Zhao <i@bugenzhao.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com> Co-authored-by: Codex <codex@openai.com> Co-authored-by: Woosuk Kwon <woosuk@inferact.ai> Co-authored-by: Roberto L. Castro <38211239+LopezCastroRoberto@users.noreply.github.com> Co-authored-by: Matthew Bonanni <mbonanni@redhat.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: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com> Co-authored-by: Canlin Guo <canlinguosdu@gmail.com> Co-authored-by: junuxyz <216036880+junuxyz@users.noreply.github.com> Co-authored-by: Isotr0py <Isotr0py@outlook.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com> Co-authored-by: Walter Beller-Morales <walterbm@users.noreply.github.com> Co-authored-by: Flora Feng <4florafeng@gmail.com> Co-authored-by: Kevin H. Luu <khluu000@gmail.com> Co-authored-by: Srijan Keshri <srijan.keshri@mindbodyonline.com> Co-authored-by: Shengqi Chen <harry-chen@outlook.com> Co-authored-by: Kunshang Ji <kunshang.ji@intel.com> Co-authored-by: Taneem Ibrahim <taneem.ibrahim@gmail.com> Co-authored-by: JartX <sagformas@epdcenter.es> Co-authored-by: Itay Alroy <75032521+itayalroy@users.noreply.github.com> Co-authored-by: Clinton Thomas <1033162+KernelClint@users.noreply.github.com> Co-authored-by: Lucas Bourtoule <35483370+dhalf@users.noreply.github.com> Co-authored-by: Artem Perevedentsev <aperevedents@nvidia.com> Co-authored-by: jcotant-inferact <joe@inferact.ai> Co-authored-by: Zeyu Yang <532183776@qq.com> Co-authored-by: Ayushman Singh <40520701+ayush1399@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: RaphaΓ«l Rialland <36076211+TQCB@users.noreply.github.com> Co-authored-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Tomas Ruiz <tomas.ruiz.te@gmail.com> Co-authored-by: Matt <156021403+mawong-amd@users.noreply.github.com> Co-authored-by: PatrykSaffer <patryk.saffer@mistral.ai> 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: Patryk Saffer <PatrykSaffer@users.noreply.github.com> Co-authored-by: Chao Lei <leichao139636@163.com> Co-authored-by: Ayushman Singh <ayush1399@users.noreply.github.com> Co-authored-by: Markus Hartikainen <markus.hartikainen@amd.com> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com> Co-authored-by: Suraj <surajm20061998@gmail.com> Co-authored-by: Kimi Code <noreply@moonshot.ai> Co-authored-by: Roger Wang <hey@rogerw.io> Co-authored-by: Ylean <61880605+Woolgathererer@users.noreply.github.com> Co-authored-by: Juntian Liu <Juntianl777@gmail.com> Co-authored-by: Tianyu Guo <guoty@inferact.ai> Co-authored-by: Kebe <mail@kebe7jun.com> Co-authored-by: linitra24 <renshuang.zhou@daocloud.io> Co-authored-by: Shenglei Fu <117230642+ShengleiFu@users.noreply.github.com> Co-authored-by: Pavel Zakharov <pavel.zakharov@gmail.com> Co-authored-by: stu-cao <stu@primeintellect.ai> Co-authored-by: Stu Cao <stucao@Stus-MacBook-Pro.local> Co-authored-by: Summer Yang <girasoleyang@gmail.com> Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com> Co-authored-by: Zhewen Li <zhewenli@meta.com> Co-authored-by: Zhewen Li <zhewenli@inferact.ai> Co-authored-by: CedricHuang <38417461+CedricHwong@users.noreply.github.com> Co-authored-by: siyu <mg21330037@smail.nju.edu.cn> Co-authored-by: Isotr0py <2037008807@qq.com> Co-authored-by: Zupeng Wang <zupenwang@gmail.com> Co-authored-by: Chaojun Zhang <chaojun.zhang@intel.com> Co-authored-by: Hotragn Pettugani <103170876+Hotragn@users.noreply.github.com> Co-authored-by: wang.yuqi <yuqi.wang@daocloud.io> Co-authored-by: Anjie Hou <149605198+specture724@users.noreply.github.com> Co-authored-by: Alexander Lee <lxy_alexander@outlook.com> Co-authored-by: Hung Hoang (ι»ε ΄οΌ <hungh@nvidia.com> Co-authored-by: JooHo Lee <96564470+BWAAEEEK@users.noreply.github.com> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk> Co-authored-by: Jared Wen <w13431838023@gmail.com> Co-authored-by: Chinmay-Kulkarni-AMD <Chinmay.Kulkarni@amd.com> Co-authored-by: Li, Jiang <jiang1.li@intel.com>
β¦llm-project#56464) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: Roger Wang <hey@rogerw.io> Co-authored-by: Kimi Code <noreply@moonshot.ai> Co-authored-by: Roger Wang <hey@rogerw.io>
What
Integrate DeepSeek DeepSelect (MIT) β a high-performance TopK kernel library for DeepSeek Sparse Attention β into vLLM via CMake FetchContent, and make every decode top-k implementation on the DSA sparse indexer path explicitly selectable, with a measured auto heuristic on top.
vllm/model_executor/layers/indexer_topk.py: the indexer's decode top-k stage. Hosts every backend entry point (DeepSelect, cooperative, persistent, per_row, FlashInfer ragged, torch reference) andSparseIndexerTopk, annn.Modulethat resolves and runs one per step.SparseAttnIndexerjust callsSparseIndexerTopk()(...).KernelConfig.sparse_indexer_topk_backend(--sparse-indexer-topk-backend):auto(default) /deep_select/cooperative/persistent/per_row/flashinfer/torch. Explicit values fail fast with the specific unmet constraint.seq_lensmap directly onto DeepSelect'sendparameter; output is written into the preallocatedtopk_indicesbuffer (CUDA-graph safe; the test below captures and replays every backend).Why not a duplicate
Searched open PRs for "DeepSelect" and "topk kernel sparse": no PR integrates DeepSelect. Related but different work: #56346 (sampled filtering inside persistent top-k), #48726 (a custom fused LiteTopk kernel), #55872 (deterministic FlashInfer top-k). This PR vendors DeepSeek's kernels unchanged and adds a shape-based dispatch, rather than modifying existing kernels.
Performance (NVIDIA GB200, torch 2.13.0+cu130, CUPTI timing, CUDA graph replay, cold L2)
Shapes from the DeepSeek-V4.1-Flash Lightning Indexer (
index_topk=512; indexer "vocab" = KV context length). Scope of this PR is the sparse indexer only.fp32 (vLLM's indexer logits), CUDA graph replay, vs the pre-PR auto pick for each shape (persistent for bs>64, cooperative for bs<=64), plus the other candidates:
bf16 (DeepSelect's native dtype; vLLM's fp32 kernels don't apply), eager microbench: bs=256, kv=1M: 119us (4.5 TB/s) vs FlashInfer 529us vs torch.topk 1855us.
Tests
All in
tests/kernels/test_top_k_per_row.py:test_deep_select_topk/test_deep_select_topk_preallocated_outputβ wrapper correctness (fp32/bf16, variable per-rowend, -1 fill, NaN-filled dirty tail proving the kernel never reads pastend, preallocated strided output buffer).test_sparse_indexer_decode_topk_explicit_backendsβ every explicit backend x next_n {1,4}: per-row length restriction, -1 fill, set/value equality vs torch.topk.test_sparse_indexer_decode_topk_short_seq_lensβ seq_len < next_n with spec decode: derived row ends clamp at 0 (matching the reference kernels'max(0, ...)); negative ends would be OOB for the ragged kernels.test_sparse_indexer_topk_backend_resolutionβ pins the auto chain (unchanged from main) and the fail-fast errors of every explicit backend.Full file: 42/42 topk-related cases pass on GB200;
pre-commit runon all touched files passes.Model eval
Notes / open questions