---
id: pr-flashinfer-1320
repo: flashinfer-ai/flashinfer
pr: 1320
title: Add blockwise-scaled FP8 GEMM via TRTLLM-Gen.
author: sergachev
date: '2025-07-28'
url: https://github.com/flashinfer-ai/flashinfer/pull/1320
source_category: upstream-code
architectures:
- sm100
tags:
- fp8
- gemm
- tma
techniques: []
hardware_features:
- fp8
- tma
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 67e77fd5ab13297199372760b92b5541d0e465bb
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_gemm_runner.cu
- flashinfer/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/KernelMetaInfo.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.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/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
- tests/test_groupwise_scaled_gemm_fp8.py
head_ref_oid: ffb62a6dd15ab0fb58efe0c0a527c8f9d8939c4d
artifact_dir: evidence/pull-bundles/flashinfer/gh-1320
---
# Add blockwise-scaled FP8 GEMM via TRTLLM-Gen.

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

## Changed Paths

- `csrc/trtllm_gemm_runner.cu`
- `flashinfer/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/KernelMetaInfo.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.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/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`
- `tests/test_groupwise_scaled_gemm_fp8.py`

## Evidence Bundle

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