---
id: pr-sglang-10937
repo: sgl-project/sglang
pr: 10937
title: '[2/2] Support MHA prefill with FlashAttention 4.'
author: lifuhuang
date: '2025-10-08'
url: https://github.com/sgl-project/sglang/pull/10937
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: edefab0c6498c96a42228e718b3102220ce4b946
inclusion_reason: kernel file changes
changed_paths:
- python/pyproject.toml
- python/pyproject_other.toml
- python/sglang/srt/entrypoints/engine.py
- python/sglang/srt/layers/attention/attention_registry.py
- python/sglang/srt/layers/attention/flashattention_backend.py
- python/sglang/srt/model_executor/model_runner.py
- python/sglang/srt/server_args.py
head_ref_oid: 735c4b7bb2cb5ab93fdbd3522258e603cfdfc85c
artifact_dir: evidence/pull-bundles/sglang/gh-10937
---
# [2/2] Support MHA prefill with FlashAttention 4.

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

## Changed Paths

- `python/pyproject.toml`
- `python/pyproject_other.toml`
- `python/sglang/srt/entrypoints/engine.py`
- `python/sglang/srt/layers/attention/attention_registry.py`
- `python/sglang/srt/layers/attention/flashattention_backend.py`
- `python/sglang/srt/model_executor/model_runner.py`
- `python/sglang/srt/server_args.py`

## Evidence Bundle

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