---
id: pr-flashinfer-1360
repo: flashinfer-ai/flashinfer
pr: 1360
title: support trtllm-gen prefill fp4 output
author: weireweire
date: '2025-08-01'
url: https://github.com/flashinfer-ai/flashinfer/pull/1360
source_category: upstream-code
architectures:
- sm100
tags:
- decode
- flash-attention
- fp4
- prefill
techniques: []
hardware_features:
- fp4
kernel_types:
- decode
- flash-attention
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: cd928a7e044c94bdd96e3f7ca79a0514b253ea6d
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_fmha_kernel_launcher.cu
- flashinfer/decode.py
- flashinfer/prefill.py
- include/flashinfer/trtllm/fmha/fmhaKernels.cuh
- tests/test_trtllm_gen_context.py
- tests/test_trtllm_gen_decode.py
head_ref_oid: 9c76d14710b6e36561bc593fd8537533f7e3e5e7
artifact_dir: evidence/pull-bundles/flashinfer/gh-1360
---
# support trtllm-gen prefill fp4 output

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

## Changed Paths

- `csrc/trtllm_fmha_kernel_launcher.cu`
- `flashinfer/decode.py`
- `flashinfer/prefill.py`
- `include/flashinfer/trtllm/fmha/fmhaKernels.cuh`
- `tests/test_trtllm_gen_context.py`
- `tests/test_trtllm_gen_decode.py`

## Evidence Bundle

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