---
id: pr-flashinfer-1206
repo: flashinfer-ai/flashinfer
pr: 1206
title: '[fix] fix BatchAttention CTA_TILE_KV mask issue'
author: happierpig
date: '2025-07-01'
url: https://github.com/flashinfer-ai/flashinfer/pull/1206
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 16cb9e493da1774e5343966915017c60fe45fd59
inclusion_reason: kernel file changes
changed_paths:
- flashinfer/attention.py
- include/flashinfer/attention/scheduler.cuh
- tests/test_batch_attention.py
head_ref_oid: fbec0a2060bf5501e210119eb18401b1f5b7bc12
artifact_dir: evidence/pull-bundles/flashinfer/gh-1206
---
# [fix] fix BatchAttention CTA_TILE_KV mask issue

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

## Changed Paths

- `flashinfer/attention.py`
- `include/flashinfer/attention/scheduler.cuh`
- `tests/test_batch_attention.py`

## Evidence Bundle

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