---
id: pr-flashinfer-2265
repo: flashinfer-ai/flashinfer
pr: 2265
title: '[TRTLLM-Gen Fmha] add optimized trtllm-gen decode kernels for high throughput + speculative decoding'
author: PerkzZheng
date: '2026-01-07'
url: https://github.com/flashinfer-ai/flashinfer/pull/2265
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- flash-attention
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- flash-attention
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: e079eee48dec413adb66d4a142e3eb66f9f42b6f
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_fmha_kernel_launcher.cu
- flashinfer/artifacts.py
- include/flashinfer/trtllm/fmha/fmhaKernels.cuh
- include/flashinfer/trtllm/fmha/fmhaRunnerParams.h
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/attention/test_trtllm_gen_attention.py
head_ref_oid: 78448ee138312a65c04c64655593288246ab9fac
artifact_dir: evidence/pull-bundles/flashinfer/gh-2265
---
# [TRTLLM-Gen Fmha] add optimized trtllm-gen decode kernels for high throughput + speculative decoding

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

## Changed Paths

- `csrc/trtllm_fmha_kernel_launcher.cu`
- `flashinfer/artifacts.py`
- `include/flashinfer/trtllm/fmha/fmhaKernels.cuh`
- `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-2265`
