---
id: pr-flashinfer-2993
repo: flashinfer-ai/flashinfer
pr: 2993
title: Second part of refactoring the routing part
author: ChristinaZ
date: '2026-04-13'
url: https://github.com/flashinfer-ai/flashinfer/pull/2993
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 86c8357e2c574d6ff87ef7e52257764e447a6850
inclusion_reason: defer
changed_paths:
- csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_common.cu
- csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_custom.cu
- csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_deepseek.cu
- csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_llama4.cu
- csrc/trtllm_fused_moe_kernel_launcher.cu
- csrc/trtllm_fused_moe_runner.cu
- include/flashinfer/trtllm/fused_moe/RoutingCustomPolicy.cuh
- include/flashinfer/trtllm/fused_moe/RoutingDevKernel.h
- include/flashinfer/trtllm/fused_moe/RoutingKernel.cuh
- include/flashinfer/trtllm/fused_moe/RoutingKernel.h
- include/flashinfer/trtllm/fused_moe/runner.h
- tests/autotuner/test_trtllm_fused_moe_autotuner_integration.py
- tests/moe/test_trtllm_gen_fused_moe.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-2993
head_ref_oid: 55501885c1c38b2d714a1c4c0229a670bf4a641d
---
# Second part of refactoring the routing part

- Repository: `flashinfer-ai/flashinfer`
- PR: [2993](https://github.com/flashinfer-ai/flashinfer/pull/2993)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_common.cu`
- `csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_custom.cu`
- `csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_deepseek.cu`
- `csrc/fused_moe/trtllm_backend/trtllm_fused_moe_routing_llama4.cu`
- `csrc/trtllm_fused_moe_kernel_launcher.cu`
- `csrc/trtllm_fused_moe_runner.cu`
- `include/flashinfer/trtllm/fused_moe/RoutingCustomPolicy.cuh`
- `include/flashinfer/trtllm/fused_moe/RoutingDevKernel.h`
- `include/flashinfer/trtllm/fused_moe/RoutingKernel.cuh`
- `include/flashinfer/trtllm/fused_moe/RoutingKernel.h`
- `include/flashinfer/trtllm/fused_moe/runner.h`
- `tests/autotuner/test_trtllm_fused_moe_autotuner_integration.py`
- `tests/moe/test_trtllm_gen_fused_moe.py`

## Evidence Bundle

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