---
id: pr-flashinfer-1490
repo: flashinfer-ai/flashinfer
pr: 1490
title: 'feat: Support fp8 qkv, fp16/bf16 out MHA for trtllm-gen.'
author: weireweire
date: '2025-08-15'
url: https://github.com/flashinfer-ai/flashinfer/pull/1490
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- flash-attention
- fp8
- kernel-fusion
- mla
- moe
- prefill
techniques:
- kernel-fusion
hardware_features:
- fp8
kernel_types:
- attention
- decode
- flash-attention
- mla
- moe
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 96d142dd323e0c55be4e8e1e443ecd6ee7695988
inclusion_reason: kernel file changes
changed_paths:
- flashinfer/artifacts.py
- flashinfer/decode.py
- flashinfer/fused_moe/core.py
- flashinfer/mla.py
- flashinfer/prefill.py
- flashinfer/sparse.py
- flashinfer/utils.py
- include/flashinfer/trtllm/fmha/fmhaKernels.cuh
- tests/test_trtllm_gen_attention.py
head_ref_oid: 853f70ba74deda7f2ca9827da9d6f4d718cf01d8
artifact_dir: evidence/pull-bundles/flashinfer/gh-1490
---
# feat: Support fp8 qkv, fp16/bf16 out MHA for trtllm-gen.

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

## Changed Paths

- `flashinfer/artifacts.py`
- `flashinfer/decode.py`
- `flashinfer/fused_moe/core.py`
- `flashinfer/mla.py`
- `flashinfer/prefill.py`
- `flashinfer/sparse.py`
- `flashinfer/utils.py`
- `include/flashinfer/trtllm/fmha/fmhaKernels.cuh`
- `tests/test_trtllm_gen_attention.py`

## Evidence Bundle

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