---
id: pr-vllm-23274
repo: vllm-project/vllm
pr: 23274
title: '[Kernel] Add fused grouped_topk kernel for MoE'
author: xyang16
date: '2025-08-25'
url: https://github.com/vllm-project/vllm/pull/23274
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: 8a3cd90af534c39425ebfdfd295eea0a4582d541
inclusion_reason: kernel file changes
changed_paths:
- CMakeLists.txt
- csrc/moe/grouped_topk_kernels.cu
- csrc/moe/moe_ops.h
- csrc/moe/torch_bindings.cpp
- tests/kernels/moe/test_grouped_topk.py
- vllm/_custom_ops.py
- vllm/envs.py
- vllm/model_executor/layers/fused_moe/fused_moe.py
head_ref_oid: daca3ff03e49f97a8a0416e1fd401ae39188b33a
artifact_dir: evidence/pull-bundles/vllm/gh-23274
---
# [Kernel] Add fused grouped_topk kernel for MoE

- Repository: `vllm-project/vllm`
- PR: [23274](https://github.com/vllm-project/vllm/pull/23274)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `CMakeLists.txt`
- `csrc/moe/grouped_topk_kernels.cu`
- `csrc/moe/moe_ops.h`
- `csrc/moe/torch_bindings.cpp`
- `tests/kernels/moe/test_grouped_topk.py`
- `vllm/_custom_ops.py`
- `vllm/envs.py`
- `vllm/model_executor/layers/fused_moe/fused_moe.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-23274`
