---
id: pr-flashinfer-2821
repo: flashinfer-ai/flashinfer
pr: 2821
title: 'fix: Autotuner _find_nearest_profile non-power-of-2 num_tokens, create launchers for all supported tileN in trtllm fused MoE'
author: amitz-nv
date: '2026-03-20'
url: https://github.com/flashinfer-ai/flashinfer/pull/2821
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: e679e45383d2621681a06c39670448be59a817c9
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_fused_moe_kernel_launcher.cu
- flashinfer/autotuner.py
- tests/autotuner/test_autotuner_core.py
- tests/autotuner/test_trtllm_fused_moe_autotuner_integration.py
- tests/autotuner/utils.py
head_ref_oid: 7799f1914ddc7f73bd5212c6411281c3fe01c5f3
artifact_dir: evidence/pull-bundles/flashinfer/gh-2821
---
# fix: Autotuner _find_nearest_profile non-power-of-2 num_tokens, create launchers for all supported tileN in trtllm fused MoE

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

## Changed Paths

- `csrc/trtllm_fused_moe_kernel_launcher.cu`
- `flashinfer/autotuner.py`
- `tests/autotuner/test_autotuner_core.py`
- `tests/autotuner/test_trtllm_fused_moe_autotuner_integration.py`
- `tests/autotuner/utils.py`

## Evidence Bundle

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