---
id: pr-sglang-21166
repo: sgl-project/sglang
pr: 21166
title: '[Not-Merge][AMD] GLM-5 performance optimization'
author: wufann
date: '2026-04-12'
url: https://github.com/sgl-project/sglang/pull/21166
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: 19cb91865322df498835a43108a51170f4d1e9b3
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/nsa/nsa_indexer.py
- python/sglang/srt/layers/attention/nsa_backend.py
head_ref_oid: 31f290b0fd8d4235386e3069f96af19ba3dc255f
artifact_dir: evidence/pull-bundles/sglang/gh-21166
---
# [Not-Merge][AMD] GLM-5 performance optimization

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

## Changed Paths

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

## Evidence Bundle

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