---
id: pr-flashinfer-887
repo: flashinfer-ai/flashinfer
pr: 887
title: 'perf: FlashAttention-3 style MLA PageAttention'
author: yzh119
date: '2025-02-23'
url: https://github.com/flashinfer-ai/flashinfer/pull/887
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- attention
- epilogue-fusion
- mla
techniques:
- epilogue-fusion
hardware_features: []
kernel_types:
- attention
- mla
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 2b24293bc7dd6536596a0fc06ebc1ddc490a113a
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_deepseek_mla.py
- csrc/batch_mla_run.cu
- csrc/batch_mla_sm90_plan.cu
- csrc/batch_mla_sm90_pybind.cu
- csrc/batch_mla_sm90_run.cu
- flashinfer/jit/attention/pytorch.py
- flashinfer/mla.py
- flashinfer/utils.py
- include/flashinfer/attention/hopper.cuh
- include/flashinfer/attention/hopper/epilogue.cuh
- include/flashinfer/attention/mla.cuh
- include/flashinfer/attention/mla_hopper.cuh
- tests/test_deepseek_mla.py
head_ref_oid: 446fccb02945017e1443eae0058895199a0150d8
artifact_dir: evidence/pull-bundles/flashinfer/gh-887
---
# perf: FlashAttention-3 style MLA PageAttention

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

## Changed Paths

- `benchmarks/bench_deepseek_mla.py`
- `csrc/batch_mla_run.cu`
- `csrc/batch_mla_sm90_plan.cu`
- `csrc/batch_mla_sm90_pybind.cu`
- `csrc/batch_mla_sm90_run.cu`
- `flashinfer/jit/attention/pytorch.py`
- `flashinfer/mla.py`
- `flashinfer/utils.py`
- `include/flashinfer/attention/hopper.cuh`
- `include/flashinfer/attention/hopper/epilogue.cuh`
- `include/flashinfer/attention/mla.cuh`
- `include/flashinfer/attention/mla_hopper.cuh`
- `tests/test_deepseek_mla.py`

## Evidence Bundle

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