---
id: pr-sglang-22688
repo: sgl-project/sglang
pr: 22688
title: Fix trtllm mla chunked-prefill zero-length bug (#22291)
author: yhyang201
date: '2026-04-21'
url: https://github.com/sgl-project/sglang/pull/22688
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 5595f6e9888b8c8ee9e8cc627769131b94c27698
inclusion_reason: defer
changed_paths:
- python/sglang/jit_kernel/csrc/attention/fixup_zero_kv.cuh
- python/sglang/jit_kernel/fixup_zero_kv.py
- python/sglang/srt/layers/attention/trtllm_mla_backend.py
- python/sglang/srt/model_executor/forward_batch_deepseek_mha_mixin.py
artifact_dir: evidence/pull-bundles/sglang/gh-22688
head_ref_oid: 167602dbe86e4a934516bdd1d4a2c64f5700fe2a
---
# Fix trtllm mla chunked-prefill zero-length bug (#22291)

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

## Changed Paths

- `python/sglang/jit_kernel/csrc/attention/fixup_zero_kv.cuh`
- `python/sglang/jit_kernel/fixup_zero_kv.py`
- `python/sglang/srt/layers/attention/trtllm_mla_backend.py`
- `python/sglang/srt/model_executor/forward_batch_deepseek_mha_mixin.py`

## Evidence Bundle

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