---
id: pr-sglang-6338
repo: sgl-project/sglang
pr: 6338
title: '[feat] Support different attention backends for prefill and decode '
author: Qiaolin-Yu
date: '2025-07-28'
url: https://github.com/sgl-project/sglang/pull/6338
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 2810338401d0d5abe8ea89be45d69728e6d22602
inclusion_reason: defer
changed_paths:
- docs/backend/server_arguments.md
- python/sglang/srt/layers/attention/hybrid_attn_backend.py
- python/sglang/srt/managers/schedule_batch.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/runners.py
- test/srt/run_suite.py
- test/srt/test_hybrid_attn_backend.py
artifact_dir: evidence/pull-bundles/sglang/gh-6338
head_ref_oid: 06ae3799b0d98578d6ea22496a1cecf9ff5f6e0c
---
# [feat] Support different attention backends for prefill and decode 

- Repository: `sgl-project/sglang`
- PR: [6338](https://github.com/sgl-project/sglang/pull/6338)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `docs/backend/server_arguments.md`
- `python/sglang/srt/layers/attention/hybrid_attn_backend.py`
- `python/sglang/srt/managers/schedule_batch.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/runners.py`
- `test/srt/run_suite.py`
- `test/srt/test_hybrid_attn_backend.py`

## Evidence Bundle

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