---
id: pr-flashinfer-2792
repo: flashinfer-ai/flashinfer
pr: 2792
title: 'feat: Support padding tokens with seqlen=0 for rope+quant+kv cache update fusion kernel'
author: elvischenv
date: '2026-04-09'
url: https://github.com/flashinfer-ai/flashinfer/pull/2792
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- kernel-fusion
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: b705b6799cf1d5dfb43c27c9ec641fb74f8a9ebe
inclusion_reason: kernel file changes
changed_paths:
- flashinfer/page.py
- include/flashinfer/pos_enc.cuh
- tests/attention/test_rope.py
head_ref_oid: 6d1f9190883985f9f1ba16d359df1c98fcc76e1b
artifact_dir: evidence/pull-bundles/flashinfer/gh-2792
---
# feat: Support padding tokens with seqlen=0 for rope+quant+kv cache update fusion kernel

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

## Changed Paths

- `flashinfer/page.py`
- `include/flashinfer/pos_enc.cuh`
- `tests/attention/test_rope.py`

## Evidence Bundle

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