---
id: pr-flashinfer-3024
repo: flashinfer-ai/flashinfer
pr: 3024
title: '[feat] Add routing_replay_out support to MoE kernels and Python API'
author: TomerBN-Nvidia
date: '2026-04-14'
url: https://github.com/flashinfer-ai/flashinfer/pull/3024
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 5056474e16f31f014056a1b2f7c856472052cba3
inclusion_reason: kernel file changes
changed_paths:
- csrc/fused_moe/noAuxTcKernels.cu
- csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_deepseek.cu
- csrc/trtllm_fused_moe_kernel_launcher.cu
- csrc/trtllm_fused_moe_runner.cu
- docs/vllm_routing_replay_integration.md
- flashinfer/fused_moe/core.py
- flashinfer/fused_moe/fused_routing_dsv3.py
- include/flashinfer/trtllm/fused_moe/RoutingKernel.h
- include/flashinfer/trtllm/fused_moe/noAuxTcKernels.h
- include/flashinfer/trtllm/fused_moe/runner.h
- tests/model_optimizations/test_dsv3_fused_routing.py
- tests/moe/test_trtllm_gen_routed_fused_moe.py
head_ref_oid: db1855e15ee5f8c3da7f779e9ebb1f0a62d3fb86
artifact_dir: evidence/pull-bundles/flashinfer/gh-3024
---
# [feat] Add routing_replay_out support to MoE kernels and Python API

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

## Changed Paths

- `csrc/fused_moe/noAuxTcKernels.cu`
- `csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_deepseek.cu`
- `csrc/trtllm_fused_moe_kernel_launcher.cu`
- `csrc/trtllm_fused_moe_runner.cu`
- `docs/vllm_routing_replay_integration.md`
- `flashinfer/fused_moe/core.py`
- `flashinfer/fused_moe/fused_routing_dsv3.py`
- `include/flashinfer/trtllm/fused_moe/RoutingKernel.h`
- `include/flashinfer/trtllm/fused_moe/noAuxTcKernels.h`
- `include/flashinfer/trtllm/fused_moe/runner.h`
- `tests/model_optimizations/test_dsv3_fused_routing.py`
- `tests/moe/test_trtllm_gen_routed_fused_moe.py`

## Evidence Bundle

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