---
id: pr-sglang-5113
repo: sgl-project/sglang
pr: 5113
title: Support MHA with chunked prefix cache for DeepSeek chunked prefill
author: Fridge003
date: '2025-04-16'
url: https://github.com/sgl-project/sglang/pull/5113
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- prefill
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: a42736bbb8feeb047c240c062a0ba9de03c2ab40
inclusion_reason: kernel file changes
changed_paths:
- docs/backend/server_arguments.md
- docs/references/deepseek.md
- python/sglang/srt/layers/attention/flashattention_backend.py
- python/sglang/srt/managers/schedule_batch.py
- python/sglang/srt/model_executor/forward_batch_info.py
- python/sglang/srt/model_executor/model_runner.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/srt/server_args.py
- python/sglang/test/attention/test_prefix_chunk_info.py
- test/srt/test_fa3.py
head_ref_oid: 90c778e385593f3e483590640d0a45f9d248a3a9
artifact_dir: evidence/pull-bundles/sglang/gh-5113
---
# Support MHA with chunked prefix cache for DeepSeek chunked prefill

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

## Changed Paths

- `docs/backend/server_arguments.md`
- `docs/references/deepseek.md`
- `python/sglang/srt/layers/attention/flashattention_backend.py`
- `python/sglang/srt/managers/schedule_batch.py`
- `python/sglang/srt/model_executor/forward_batch_info.py`
- `python/sglang/srt/model_executor/model_runner.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/srt/server_args.py`
- `python/sglang/test/attention/test_prefix_chunk_info.py`
- `test/srt/test_fa3.py`

## Evidence Bundle

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