---
id: pr-flashinfer-1912
repo: flashinfer-ai/flashinfer
pr: 1912
title: 'fix: Fix trtllm-gen prefill IMA when batch_size==1'
author: bkryu
date: '2025-10-21'
url: https://github.com/flashinfer-ai/flashinfer/pull/1912
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- flash-attention
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- flash-attention
- prefill
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: c3f2596c1464f03f24b129caec692b7ba2d7e9a9
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/README.md
- benchmarks/routines/attention.py
- flashinfer/artifacts.py
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/attention/test_trtllm_gen_attention.py
head_ref_oid: 1b7f9e86c5c78f4fbf70fa636561e5b7597edab9
artifact_dir: evidence/pull-bundles/flashinfer/gh-1912
---
# fix: Fix trtllm-gen prefill IMA when batch_size==1

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

## Changed Paths

- `benchmarks/README.md`
- `benchmarks/routines/attention.py`
- `flashinfer/artifacts.py`
- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `tests/attention/test_trtllm_gen_attention.py`

## Evidence Bundle

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