---
id: pr-flashinfer-1239
repo: flashinfer-ai/flashinfer
pr: 1239
title: add trtllm-gen context attention
author: IwakuraRein
date: '2025-07-17'
url: https://github.com/flashinfer-ai/flashinfer/pull/1239
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- flash-attention
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- flash-attention
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 6f3b59ff6de85997471b50648952d91aab30afa1
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_trtllm_fmha.py
- csrc/trtllm_fmha_kernel_launcher.cu
- flashinfer/decode.py
- flashinfer/jit/attention/pytorch.py
- flashinfer/prefill.py
- tests/test_trtllm_gen_context.py
- tests/test_trtllm_gen_decode.py
head_ref_oid: 741dccfb66adcdafe3735c24e0973e942443b669
artifact_dir: evidence/pull-bundles/flashinfer/gh-1239
---
# add trtllm-gen context attention

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

## Changed Paths

- `benchmarks/bench_trtllm_fmha.py`
- `csrc/trtllm_fmha_kernel_launcher.cu`
- `flashinfer/decode.py`
- `flashinfer/jit/attention/pytorch.py`
- `flashinfer/prefill.py`
- `tests/test_trtllm_gen_context.py`
- `tests/test_trtllm_gen_decode.py`

## Evidence Bundle

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