---
id: pr-flashinfer-2134
repo: flashinfer-ai/flashinfer
pr: 2134
title: 'fix(trtllm): reset negative strideBatch to 0 for ragged KV layout to …'
author: YAMY1234
date: '2025-11-25'
url: https://github.com/flashinfer-ai/flashinfer/pull/2134
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- flash-attention
techniques: []
hardware_features: []
kernel_types:
- attention
- flash-attention
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: aeeccac5dfd740999cecb1b0247341469018f7d6
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/attention/test_trtllm_ragged_kv_stride.py
- tests/comm/test_trtllm_mnnvl_allreduce_custom_comm.py
head_ref_oid: bc5e69c1b8a89221d0d44f2a45865cedd046a9af
artifact_dir: evidence/pull-bundles/flashinfer/gh-2134
---
# fix(trtllm): reset negative strideBatch to 0 for ragged KV layout to …

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

## Changed Paths

- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `tests/attention/test_trtllm_ragged_kv_stride.py`
- `tests/comm/test_trtllm_mnnvl_allreduce_custom_comm.py`

## Evidence Bundle

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