---
id: pr-flashinfer-1614
repo: flashinfer-ai/flashinfer
pr: 1614
title: 'bugfix: fix merge_attention_state in BatchAttention w/ gqa-group-size in Qwen family'
author: happierpig
date: '2025-09-02'
url: https://github.com/flashinfer-ai/flashinfer/pull/1614
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- persistent-kernel
techniques:
- persistent-kernel
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 9b861cdbb4582928096b3533cc8c4ba67be17b89
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/attention/persistent.cuh
- include/flashinfer/attention/scheduler.cuh
- tests/test_batch_attention.py
head_ref_oid: 3f01fa88bd2e0a5959f922d03e34c8e33f6ac5e6
artifact_dir: evidence/pull-bundles/flashinfer/gh-1614
---
# bugfix: fix merge_attention_state in BatchAttention w/ gqa-group-size in Qwen family

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

## Changed Paths

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

## Evidence Bundle

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