---
id: pr-flashinfer-2254
repo: flashinfer-ai/flashinfer
pr: 2254
title: 'feat: support non-contiguous query for trtllm-gen attention backend'
author: yzh119
date: '2025-12-22'
url: https://github.com/flashinfer-ai/flashinfer/pull/2254
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- flash-attention
techniques: []
hardware_features: []
kernel_types:
- attention
- flash-attention
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: df82616f4febcb082421609cee73200b6cd7bf50
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_fmha_kernel_launcher.cu
- include/flashinfer/trtllm/fmha/fmhaRunnerParams.h
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/attention/test_trtllm_gen_attention.py
head_ref_oid: 032eaceb71cceff1c191c05171338b03950121be
artifact_dir: evidence/pull-bundles/flashinfer/gh-2254
---
# feat: support non-contiguous query for trtllm-gen attention backend

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

## Changed Paths

- `csrc/trtllm_fmha_kernel_launcher.cu`
- `include/flashinfer/trtllm/fmha/fmhaRunnerParams.h`
- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `tests/attention/test_trtllm_gen_attention.py`

## Evidence Bundle

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