---
id: pr-flashinfer-2163
repo: flashinfer-ai/flashinfer
pr: 2163
title: 'refactor: Move mla code from decode.py to mla.py and add to documentation'
author: bkryu
date: '2025-12-05'
url: https://github.com/flashinfer-ai/flashinfer/pull/2163
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- mla
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 1733727c30105b62814bc6703f4e3f82c362c0b8
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/routines/attention.py
- docs/api/attention.rst
- flashinfer/decode.py
- flashinfer/mla.py
head_ref_oid: 8e9250dcc5b959ce33b842d529253c81e799154d
artifact_dir: evidence/pull-bundles/flashinfer/gh-2163
---
# refactor: Move mla code from decode.py to mla.py and add to documentation

- Repository: `flashinfer-ai/flashinfer`
- PR: [2163](https://github.com/flashinfer-ai/flashinfer/pull/2163)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `benchmarks/routines/attention.py`
- `docs/api/attention.rst`
- `flashinfer/decode.py`
- `flashinfer/mla.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2163`
