[Bugfix][DSv4] Seed the -1 sentinel in the prefill sparse index workspace (#55299)

Signed-off-by: aoshen02 <aoshen02@users.noreply.github.com> Co-authored-by: aoshen02 <aoshen02@users.noreply.github.com>

aoshen02 committed Sep 5, 2026 at 18:31 UTC 7fbd44cbe0a90b9c8fd3a94a0f0401ac4b1bc719
1 file changed +1
vllm/models/deepseek_v4/common/ops/cache_utils.py
+1
@@ -561,6 +561,7 @@ def combine_topk_swa_indices(
561 )
562 else:
563 combined_indices, combined_lens = out
564 + combined_indices.fill_(-1)
565
566 _COMBINE_TOPK_SWA_INDICES_KERNEL(
567 combined_indices,