---
id: pr-sglang-21452
repo: sgl-project/sglang
pr: 21452
title: 'fix: piecewise_cuda_graph get correct qo_indptr'
author: yyihuang
date: '2026-03-28'
url: https://github.com/sgl-project/sglang/pull/21452
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
- python
captured_at: '2026-04-17'
status: merged
merge_sha: 3ab9afd653806db57c7eb5a2217b79796faae7b5
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/compilation/piecewise_context_manager.py
- python/sglang/srt/layers/attention/flashinfer_backend.py
- python/sglang/srt/model_executor/piecewise_cuda_graph_runner.py
- test/registered/scheduler/test_abort.py
- test/registered/scheduler/test_priority_scheduling.py
head_ref_oid: 3d7390d9b59177e25b7f6ecc36720846aef960b8
artifact_dir: evidence/pull-bundles/sglang/gh-21452
---
# fix: piecewise_cuda_graph get correct qo_indptr

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

## Changed Paths

- `python/sglang/srt/compilation/piecewise_context_manager.py`
- `python/sglang/srt/layers/attention/flashinfer_backend.py`
- `python/sglang/srt/model_executor/piecewise_cuda_graph_runner.py`
- `test/registered/scheduler/test_abort.py`
- `test/registered/scheduler/test_priority_scheduling.py`

## Evidence Bundle

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