---
id: pr-flashinfer-1318
repo: flashinfer-ai/flashinfer
pr: 1318
title: 'feat: support output nvfp4 in trtllm-gen function call.'
author: weireweire
date: '2025-07-29'
url: https://github.com/flashinfer-ai/flashinfer/pull/1318
source_category: upstream-code
architectures:
- sm100
tags:
- decode
- flash-attention
- fp4
- nvfp4
- quantization
techniques: []
hardware_features:
- fp4
- nvfp4
kernel_types:
- decode
- flash-attention
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 8608c3755024d617566cd2e9f4617f30ca03f8ff
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_fmha_kernel_launcher.cu
- csrc/trtllm_fmha_runner.cu
- flashinfer/decode.py
- flashinfer/utils.py
- include/flashinfer/trtllm/fmha/fmhaRunnerParams.h
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/test_fp4_quantize.py
- tests/test_trtllm_gen_decode.py
- tests/utils_fp4.py
head_ref_oid: 1ef19984cf5dc0afe0920437bee2a6be659df9d0
artifact_dir: evidence/pull-bundles/flashinfer/gh-1318
---
# feat: support output nvfp4 in trtllm-gen function call.

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

## Changed Paths

- `csrc/trtllm_fmha_kernel_launcher.cu`
- `csrc/trtllm_fmha_runner.cu`
- `flashinfer/decode.py`
- `flashinfer/utils.py`
- `include/flashinfer/trtllm/fmha/fmhaRunnerParams.h`
- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `tests/test_fp4_quantize.py`
- `tests/test_trtllm_gen_decode.py`
- `tests/utils_fp4.py`

## Evidence Bundle

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