---
id: pr-sglang-7225
repo: sgl-project/sglang
pr: 7225
title: 'feat: support compatibility between MTP and two-batch-overlap'
author: Qiaolin-Yu
date: '2025-06-27'
url: https://github.com/sgl-project/sglang/pull/7225
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 41650b0d70e19e4b616f59debb9c22b6c3fb8a86
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/tbo_backend.py
- python/sglang/srt/model_executor/cuda_graph_runner.py
- python/sglang/srt/model_executor/forward_batch_info.py
- python/sglang/srt/model_executor/model_runner.py
- python/sglang/srt/operations_strategy.py
- python/sglang/srt/two_batch_overlap.py
- test/srt/test_dp_attention.py
head_ref_oid: 319937a1205432c809b37312a5e18919bfbf90dc
artifact_dir: evidence/pull-bundles/sglang/gh-7225
---
# feat: support compatibility between MTP and two-batch-overlap

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

## Changed Paths

- `python/sglang/srt/layers/attention/tbo_backend.py`
- `python/sglang/srt/model_executor/cuda_graph_runner.py`
- `python/sglang/srt/model_executor/forward_batch_info.py`
- `python/sglang/srt/model_executor/model_runner.py`
- `python/sglang/srt/operations_strategy.py`
- `python/sglang/srt/two_batch_overlap.py`
- `test/srt/test_dp_attention.py`

## Evidence Bundle

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