---
id: pr-flashinfer-3216
repo: flashinfer-ai/flashinfer
pr: 3216
title: 'fix(cute_dsl/moe): make autotuner bucket configuration adapt to runtime input'
author: leejnau
date: '2026-05-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/3216
source_category: upstream-code
architectures:
- sm100
tags:
- attention_kv
- benchmark_test
- compiler_runtime
- cute dsl
- fp8
- fused moe
- moe_routing
- scheduler_autotune
- sm100
techniques:
- autotuning
- kernel-fusion
- tile-scheduling
hardware_features:
- blackwell
- fp8
kernel_types:
- attention
- compiler
- moe
- scheduler
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: e6ac7cc25eb8b5f138b39bd58700639d3d888e51
inclusion_reason: Treat scheduler/autotune configs as shape-specific evidence; replay benchmark shapes before generalizing.
changed_paths:
- flashinfer/fused_moe/cute_dsl/tuner.py
- tests/moe/test_cute_dsl_fused_moe.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-3216
head_ref_oid: 96e1d099b4f22167c35e2c202df8dfa402a10bfe
---
# fix(cute_dsl/moe): make autotuner bucket configuration adapt to runtime input

- Repository: `flashinfer-ai/flashinfer`
- PR: [3216](https://github.com/flashinfer-ai/flashinfer/pull/3216)
- Decision: `Treat scheduler/autotune configs as shape-specific evidence; replay benchmark shapes before generalizing.`
- Reason: Treat scheduler/autotune configs as shape-specific evidence; replay benchmark shapes before generalizing.

## Changed Paths

- `flashinfer/fused_moe/cute_dsl/tuner.py`
- `tests/moe/test_cute_dsl_fused_moe.py`

## Evidence Bundle

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