---
id: pr-sglang-11985
repo: sgl-project/sglang
pr: 11985
title: Fix incorrect KV indices creation when page_size=32 in TRTLLM MLA backend
author: cicirori
date: '2025-10-23'
url: https://github.com/sgl-project/sglang/pull/11985
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: c23eda8589f62eb9dc94ae44c6bccf976125351d
inclusion_reason: defer
changed_paths:
- python/sglang/srt/layers/attention/flashinfer_mla_backend.py
- python/sglang/srt/layers/attention/trtllm_mla_backend.py
- python/sglang/srt/layers/attention/utils.py
- python/sglang/test/attention/test_trtllm_mla_backend.py
artifact_dir: evidence/pull-bundles/sglang/gh-11985
head_ref_oid: bca3aa26d4fa044c60fda09e33c34de08c034868
---
# Fix incorrect KV indices creation when page_size=32 in TRTLLM MLA backend

- Repository: `sgl-project/sglang`
- PR: [11985](https://github.com/sgl-project/sglang/pull/11985)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `python/sglang/srt/layers/attention/flashinfer_mla_backend.py`
- `python/sglang/srt/layers/attention/trtllm_mla_backend.py`
- `python/sglang/srt/layers/attention/utils.py`
- `python/sglang/test/attention/test_trtllm_mla_backend.py`

## Evidence Bundle

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