---
id: pr-flashinfer-2629
repo: flashinfer-ai/flashinfer
pr: 2629
title: 'fix: cute dsl nvfp4 moe routing index error'
author: nv-yunzheq
date: '2026-02-25'
url: https://github.com/flashinfer-ai/flashinfer/pull/2629
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- kernel-fusion
- moe
- nvfp4
techniques:
- kernel-fusion
hardware_features:
- fp4
- nvfp4
kernel_types:
- moe
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-04-27'
status: merged
merge_sha: 9826c26e27315927704cd5d8344f940c7213b52a
inclusion_reason: kernel file changes
changed_paths:
- csrc/moe_utils_binding.cu
- csrc/trtllm_fused_moe_routing_deepseek.cu
- csrc/trtllm_fused_moe_routing_llama4.cu
- csrc/trtllm_fused_moe_routing_renormalize.cu
- csrc/trtllm_fused_moe_runner.cu
- include/flashinfer/trtllm/fused_moe/RoutingKernel.cuh
- include/flashinfer/trtllm/fused_moe/RoutingKernel.h
- tests/moe/test_cute_dsl_fused_moe.py
head_ref_oid: 2117710a09026aec2461a4a5a140b85e2ea7a04a
artifact_dir: evidence/pull-bundles/flashinfer/gh-2629
---
# fix: cute dsl nvfp4 moe routing index error

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

## Changed Paths

- `csrc/moe_utils_binding.cu`
- `csrc/trtllm_fused_moe_routing_deepseek.cu`
- `csrc/trtllm_fused_moe_routing_llama4.cu`
- `csrc/trtllm_fused_moe_routing_renormalize.cu`
- `csrc/trtllm_fused_moe_runner.cu`
- `include/flashinfer/trtllm/fused_moe/RoutingKernel.cuh`
- `include/flashinfer/trtllm/fused_moe/RoutingKernel.h`
- `tests/moe/test_cute_dsl_fused_moe.py`

## Evidence Bundle

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