---
id: pr-flashinfer-2864
repo: flashinfer-ai/flashinfer
pr: 2864
title: Add support for Relu2 in BF16 fused MoE
author: amitz-nv
date: '2026-04-13'
url: https://github.com/flashinfer-ai/flashinfer/pull/2864
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- gemm
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: ede2225a160736af5bf53cc1ad471e1c714a4c2d
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_batched_gemm_runner.cu
- csrc/trtllm_fused_moe_kernel_launcher.cu
- flashinfer/artifacts.py
- flashinfer/fused_moe/__init__.py
- flashinfer/fused_moe/core.py
- tests/moe/test_trtllm_gen_fused_moe.py
- tests/moe/utils.py
head_ref_oid: d0552585ad9fc3770d523911f13d9c262a759aae
artifact_dir: evidence/pull-bundles/flashinfer/gh-2864
---
# Add support for Relu2 in BF16 fused MoE

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

## Changed Paths

- `csrc/trtllm_batched_gemm_runner.cu`
- `csrc/trtllm_fused_moe_kernel_launcher.cu`
- `flashinfer/artifacts.py`
- `flashinfer/fused_moe/__init__.py`
- `flashinfer/fused_moe/core.py`
- `tests/moe/test_trtllm_gen_fused_moe.py`
- `tests/moe/utils.py`

## Evidence Bundle

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