---
id: pr-flash-attention-2104
repo: Dao-AILab/flash-attention
pr: 2104
title: '[Cute,Fwd,Sm100] distributed offset calculation for paged KV'
author: timmy-feng
date: '2026-01-15'
url: https://github.com/Dao-AILab/flash-attention/pull/2104
source_category: upstream-code
architectures:
- sm100
tags:
- FA3
- arch_pipeline
- attention_kv
- compiler_runtime
- cute dsl
- head_dim
- paged
techniques:
- pipeline-stages
- warp-specialization
hardware_features:
- blackwell
kernel_types:
- attention
- compiler
- runtime
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: fffabc3de125be1453e812460179872c7c886bed
inclusion_reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.
changed_paths:
- flash_attn/cute/flash_fwd_sm100.py
- flash_attn/cute/paged_kv.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2104
head_ref_oid: d4cde7bbe3a435731fa897dda0de3423841beea6
---
# [Cute,Fwd,Sm100] distributed offset calculation for paged KV

- Repository: `Dao-AILab/flash-attention`
- PR: [2104](https://github.com/Dao-AILab/flash-attention/pull/2104)
- 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

- `flash_attn/cute/flash_fwd_sm100.py`
- `flash_attn/cute/paged_kv.py`

## Evidence Bundle

`evidence/pull-bundles/flash-attention/gh-2104`
