---
id: pr-flashinfer-3181
repo: flashinfer-ai/flashinfer
pr: 3181
title: 'cute-dsl fmha prefill (cubin integration): remove front-padding, add attention_sink, and pdl support'
author: limin2021
date: '2026-05-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/3181
source_category: upstream-code
architectures:
- sm100
tags:
- attention_kv
- benchmark
- benchmark_test
- compiler_runtime
- cute dsl
- fp8
- mla
techniques: []
hardware_features:
- fp8
- pdl
kernel_types:
- attention
- compiler
- mla
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 89af11c5cb7770b7f22988131444114d93f5e6f4
inclusion_reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.
changed_paths:
- benchmarks/routines/attention.py
- flashinfer/artifacts.py
- flashinfer/attention/cute_dsl/fmha.py
- flashinfer/prefill.py
- tests/attention/test_trtllm_gen_attention.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-3181
head_ref_oid: 8983e5e3b92214da198d166064e6805c0c38cb50
---
# cute-dsl fmha prefill (cubin integration): remove front-padding, add attention_sink, and pdl support

- Repository: `flashinfer-ai/flashinfer`
- PR: [3181](https://github.com/flashinfer-ai/flashinfer/pull/3181)
- Decision: `Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.`
- Reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.

## Changed Paths

- `benchmarks/routines/attention.py`
- `flashinfer/artifacts.py`
- `flashinfer/attention/cute_dsl/fmha.py`
- `flashinfer/prefill.py`
- `tests/attention/test_trtllm_gen_attention.py`

## Evidence Bundle

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