---
id: pr-sglang-6081
repo: sgl-project/sglang
pr: 6081
title: 'feat: mtp support dp-attention'
author: u4lr451
date: '2025-06-17'
url: https://github.com/sgl-project/sglang/pull/6081
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- mla
languages:
- cuda-cpp
- python
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 10d60cd41bb520d2cbd16f577f6d60f578e3ab4a
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/aiter_backend.py
- python/sglang/srt/layers/attention/base_attn_backend.py
- python/sglang/srt/layers/attention/cutlass_mla_backend.py
- python/sglang/srt/layers/attention/flashattention_backend.py
- python/sglang/srt/layers/attention/flashinfer_backend.py
- python/sglang/srt/layers/attention/flashinfer_mla_backend.py
- python/sglang/srt/layers/attention/flashmla_backend.py
- python/sglang/srt/layers/attention/tbo_backend.py
- python/sglang/srt/layers/attention/triton_backend.py
- python/sglang/srt/layers/dp_attention.py
- python/sglang/srt/managers/schedule_batch.py
- python/sglang/srt/managers/scheduler.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/models/deepseek_nextn.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/srt/speculative/eagle_draft_cuda_graph_runner.py
- python/sglang/srt/speculative/eagle_draft_extend_cuda_graph_runner.py
- python/sglang/srt/speculative/eagle_utils.py
- python/sglang/srt/speculative/eagle_worker.py
- test/srt/test_dp_attention.py
head_ref_oid: a2effc04c957bc089f5dd5b83d57a48a84c4a00d
artifact_dir: evidence/pull-bundles/sglang/gh-6081
---
# feat: mtp support dp-attention

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

## Changed Paths

- `python/sglang/srt/layers/attention/aiter_backend.py`
- `python/sglang/srt/layers/attention/base_attn_backend.py`
- `python/sglang/srt/layers/attention/cutlass_mla_backend.py`
- `python/sglang/srt/layers/attention/flashattention_backend.py`
- `python/sglang/srt/layers/attention/flashinfer_backend.py`
- `python/sglang/srt/layers/attention/flashinfer_mla_backend.py`
- `python/sglang/srt/layers/attention/flashmla_backend.py`
- `python/sglang/srt/layers/attention/tbo_backend.py`
- `python/sglang/srt/layers/attention/triton_backend.py`
- `python/sglang/srt/layers/dp_attention.py`
- `python/sglang/srt/managers/schedule_batch.py`
- `python/sglang/srt/managers/scheduler.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/models/deepseek_nextn.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/srt/speculative/eagle_draft_cuda_graph_runner.py`
- `python/sglang/srt/speculative/eagle_draft_extend_cuda_graph_runner.py`
- `python/sglang/srt/speculative/eagle_utils.py`
- `python/sglang/srt/speculative/eagle_worker.py`
- `test/srt/test_dp_attention.py`

## Evidence Bundle

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