---
id: pr-flashinfer-1051
repo: flashinfer-ai/flashinfer
pr: 1051
title: '[nvidia] Add Blackwell FMHA decode kernel from TRT-LLM'
author: joker-eph
date: '2025-05-27'
url: https://github.com/flashinfer-ai/flashinfer/pull/1051
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-17'
status: merged
merge_sha: 9af6afe1f85d39823b9383d620ff53004a46ebae
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_trtllm_fmha.py
- csrc/trtllm_fmha_kernel_launcher.cu
- csrc/trtllm_fmha_runner.cu
- flashinfer/decode.py
- flashinfer/jit/__init__.py
- flashinfer/jit/attention/__init__.py
- flashinfer/jit/attention/pytorch.py
- flashinfer/jit/core.py
- flashinfer/jit/cubin_loader.py
- flashinfer/jit/env.py
- include/flashinfer/cubin_loader.h
- include/flashinfer/semaphore_utils.cuh
- include/flashinfer/trtllm/common.h
- include/flashinfer/trtllm/fmha/cubin/kernelMetaInfo.h
- include/flashinfer/trtllm/fmha/decoder_impl_common.h
- include/flashinfer/trtllm/fmha/decoder_params.h
- include/flashinfer/trtllm/fmha/fmhaKernels.cuh
- include/flashinfer/trtllm/fmha/fmhaRunner.cuh
- include/flashinfer/trtllm/fmha/fmhaRunnerParams.h
- include/flashinfer/trtllm/fmha/gen_kernel_launcher.cuh
- include/flashinfer/trtllm/fmha/kernelParams.h
- setup.py
- tests/test_trtllm_gen_decode.py
head_ref_oid: c60ea365ce513c8df1455bd974245768ab6b3f2a
artifact_dir: evidence/pull-bundles/flashinfer/gh-1051
---
# [nvidia] Add Blackwell FMHA decode kernel from TRT-LLM

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

## Changed Paths

- `benchmarks/bench_trtllm_fmha.py`
- `csrc/trtllm_fmha_kernel_launcher.cu`
- `csrc/trtllm_fmha_runner.cu`
- `flashinfer/decode.py`
- `flashinfer/jit/__init__.py`
- `flashinfer/jit/attention/__init__.py`
- `flashinfer/jit/attention/pytorch.py`
- `flashinfer/jit/core.py`
- `flashinfer/jit/cubin_loader.py`
- `flashinfer/jit/env.py`
- `include/flashinfer/cubin_loader.h`
- `include/flashinfer/semaphore_utils.cuh`
- `include/flashinfer/trtllm/common.h`
- `include/flashinfer/trtllm/fmha/cubin/kernelMetaInfo.h`
- `include/flashinfer/trtllm/fmha/decoder_impl_common.h`
- `include/flashinfer/trtllm/fmha/decoder_params.h`
- `include/flashinfer/trtllm/fmha/fmhaKernels.cuh`
- `include/flashinfer/trtllm/fmha/fmhaRunner.cuh`
- `include/flashinfer/trtllm/fmha/fmhaRunnerParams.h`
- `include/flashinfer/trtllm/fmha/gen_kernel_launcher.cuh`
- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `setup.py`
- `tests/test_trtllm_gen_decode.py`

## Evidence Bundle

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