---
id: pr-sglang-22232
repo: sgl-project/sglang
pr: 22232
title: Reduce unnecessary kernels and copies in the NSA indexer
author: 1am9trash
date: '2026-04-07'
url: https://github.com/sgl-project/sglang/pull/22232
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- python
captured_at: '2026-04-17'
status: merged
merge_sha: 671fe73961b7b535fea0415616791506d3f1e0b3
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/nsa/nsa_indexer.py
head_ref_oid: 82d415071e9e89deb88ea32770c7645c040e1373
artifact_dir: evidence/pull-bundles/sglang/gh-22232
---
# Reduce unnecessary kernels and copies in the NSA indexer

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

## Changed Paths

- `python/sglang/srt/layers/attention/nsa/nsa_indexer.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-22232`
