---
id: pr-sglang-5005
repo: sgl-project/sglang
pr: 5005
title: Replace enable_flashinfer_mla argument with attention_backend
author: Fridge003
date: '2025-04-03'
url: https://github.com/sgl-project/sglang/pull/5005
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: e8999b13b7c346297d7de88682f88a5cc35c80a0
inclusion_reason: defer
changed_paths:
- docs/backend/server_arguments.md
- docs/references/deepseek.md
- python/sglang/srt/layers/attention/flashinfer_mla_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
- test/srt/test_mla_flashinfer.py
artifact_dir: evidence/pull-bundles/sglang/gh-5005
head_ref_oid: 06d0538cf1f9ba691c82c37bf55bb9221b133f7b
---
# Replace enable_flashinfer_mla argument with attention_backend

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

## Changed Paths

- `docs/backend/server_arguments.md`
- `docs/references/deepseek.md`
- `python/sglang/srt/layers/attention/flashinfer_mla_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`
- `test/srt/test_mla_flashinfer.py`

## Evidence Bundle

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