---
id: pr-flashinfer-2489
repo: flashinfer-ai/flashinfer
pr: 2489
title: '[bugfix]Correct chunk_end calculation in multi-CTA collaboration when max_len > length'
author: huangzhilin-hzl
date: '2026-02-20'
url: https://github.com/flashinfer-ai/flashinfer/pull/2489
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: ace3d154f96ddadfa642f4570107515ca680f711
inclusion_reason: defer
changed_paths:
- include/flashinfer/topk.cuh
- tests/utils/test_topk.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-2489
head_ref_oid: 8a78d183378bf8306bb8e4e4d26d9dfe20e002fb
---
# [bugfix]Correct chunk_end calculation in multi-CTA collaboration when max_len > length

- Repository: `flashinfer-ai/flashinfer`
- PR: [2489](https://github.com/flashinfer-ai/flashinfer/pull/2489)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `include/flashinfer/topk.cuh`
- `tests/utils/test_topk.py`

## Evidence Bundle

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