---
id: pr-flashinfer-2653
repo: flashinfer-ai/flashinfer
pr: 2653
title: '[feat] trtllm-gen mxfp8 gemm'
author: IwakuraRein
date: '2026-03-21'
url: https://github.com/flashinfer-ai/flashinfer/pull/2653
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- fp4
- fp8
- gemm
- kernel-fusion
- moe
- quantization
- tma
techniques:
- kernel-fusion
hardware_features:
- fp4
- fp8
- tma
kernel_types:
- attention
- decode
- gemm
- moe
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: c93860466fa5e9836a13ae951a411b991ba6deb0
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/routines/flashinfer_benchmark_utils.py
- benchmarks/routines/gemm.py
- benchmarks/routines/quantization.py
- csrc/nv_internal/tensorrt_llm/thop/fp8Quantize.cpp
- csrc/nv_internal/tensorrt_llm/thop/fp8Quantize.h
- csrc/trtllm_gemm_runner.cu
- csrc/trtllm_low_latency_gemm_runner.cu
- flashinfer/__init__.py
- flashinfer/artifacts.py
- flashinfer/fp4_quantization.py
- flashinfer/fused_moe/core.py
- flashinfer/gemm/gemm_base.py
- flashinfer/quantization/fp4_quantization.py
- flashinfer/quantization/fp8_quantization.py
- flashinfer/tllm_enums.py
- flashinfer/trtllm_low_latency_gemm.py
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/Enums.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmInterface.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmOptions.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParamsDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelTraits.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/TmaDescriptor.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CommonUtils.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaArchDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaKernelLauncher.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/DtypeDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/MmaDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SfLayoutDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SparsityDecl.h
- tests/attention/test_xqa_batch_decode.py
- tests/gemm/test_mm_mxfp8.py
head_ref_oid: 7ca7788ff6dcd8975e0321ead6106e3044f657d8
artifact_dir: evidence/pull-bundles/flashinfer/gh-2653
---
# [feat] trtllm-gen mxfp8 gemm

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

## Changed Paths

- `benchmarks/routines/flashinfer_benchmark_utils.py`
- `benchmarks/routines/gemm.py`
- `benchmarks/routines/quantization.py`
- `csrc/nv_internal/tensorrt_llm/thop/fp8Quantize.cpp`
- `csrc/nv_internal/tensorrt_llm/thop/fp8Quantize.h`
- `csrc/trtllm_gemm_runner.cu`
- `csrc/trtllm_low_latency_gemm_runner.cu`
- `flashinfer/__init__.py`
- `flashinfer/artifacts.py`
- `flashinfer/fp4_quantization.py`
- `flashinfer/fused_moe/core.py`
- `flashinfer/gemm/gemm_base.py`
- `flashinfer/quantization/fp4_quantization.py`
- `flashinfer/quantization/fp8_quantization.py`
- `flashinfer/tllm_enums.py`
- `flashinfer/trtllm_low_latency_gemm.py`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/Enums.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmInterface.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmOptions.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParamsDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelTraits.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/TmaDescriptor.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CommonUtils.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaArchDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaKernelLauncher.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/DtypeDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/MmaDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SfLayoutDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SparsityDecl.h`
- `tests/attention/test_xqa_batch_decode.py`
- `tests/gemm/test_mm_mxfp8.py`

## Evidence Bundle

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