---
id: pr-vllm-38865
repo: vllm-project/vllm
pr: 38865
title: '[Refactor] Improve indexer decode path metadata preparation'
author: zyongye
date: '2026-04-09'
url: https://github.com/vllm-project/vllm/pull/38865
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- mla
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 2e98406048798c45eb623360de2b46825ef74848
inclusion_reason: kernel file changes
changed_paths:
- csrc/sampler.cu
- csrc/topk.cu
- vllm/model_executor/layers/sparse_attn_indexer.py
- vllm/v1/attention/backends/mla/indexer.py
head_ref_oid: d12bf72150c42350a71587b2acf9048abf95b322
artifact_dir: evidence/pull-bundles/vllm/gh-38865
---
# [Refactor] Improve indexer decode path metadata preparation

- Repository: `vllm-project/vllm`
- PR: [38865](https://github.com/vllm-project/vllm/pull/38865)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/sampler.cu`
- `csrc/topk.cu`
- `vllm/model_executor/layers/sparse_attn_indexer.py`
- `vllm/v1/attention/backends/mla/indexer.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-38865`
