---
id: pr-flashinfer-1114
repo: flashinfer-ai/flashinfer
pr: 1114
title: 'bugfix: Fix test and output shape of fp4 quantize'
author: wenscarl
date: '2025-06-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/1114
source_category: upstream-code
architectures:
- sm100
tags:
- epilogue-fusion
- fp4
- gemm
- kernel-fusion
- moe
- quantization
techniques:
- epilogue-fusion
- kernel-fusion
hardware_features:
- fp4
kernel_types:
- gemm
- moe
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 172914cd79394406c05d4fe986fa501f39d67d1e
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/include/tensorrt_llm/common/NvInferRuntime.h
- csrc/nv_internal/include/tensorrt_llm/common/dataType.h
- csrc/nv_internal/tensorrt_llm/cutlass_extensions/include/cutlass_extensions/epilogue/collective/epilogue_moe_finalize.hpp
- csrc/nv_internal/tensorrt_llm/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cute_util.cuh
- csrc/nv_internal/tensorrt_llm/kernels/cutlass_kernels/cutlass_type_conversion.h
- csrc/nv_internal/tensorrt_llm/kernels/internal_cutlass_kernels/include/moe_kernels.h
- csrc/nv_internal/tensorrt_llm/kernels/lora/lora.h
- flashinfer/fp4_quantization.py
- flashinfer/jit/core.py
- tests/test_trtllm_cutlass_fused_moe.py
head_ref_oid: f23112bef47dfb71c132a86cb72df4e09a886f5b
artifact_dir: evidence/pull-bundles/flashinfer/gh-1114
---
# bugfix: Fix test and output shape of fp4 quantize

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

## Changed Paths

- `csrc/nv_internal/include/tensorrt_llm/common/NvInferRuntime.h`
- `csrc/nv_internal/include/tensorrt_llm/common/dataType.h`
- `csrc/nv_internal/tensorrt_llm/cutlass_extensions/include/cutlass_extensions/epilogue/collective/epilogue_moe_finalize.hpp`
- `csrc/nv_internal/tensorrt_llm/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cute_util.cuh`
- `csrc/nv_internal/tensorrt_llm/kernels/cutlass_kernels/cutlass_type_conversion.h`
- `csrc/nv_internal/tensorrt_llm/kernels/internal_cutlass_kernels/include/moe_kernels.h`
- `csrc/nv_internal/tensorrt_llm/kernels/lora/lora.h`
- `flashinfer/fp4_quantization.py`
- `flashinfer/jit/core.py`
- `tests/test_trtllm_cutlass_fused_moe.py`

## Evidence Bundle

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