---
id: pr-vllm-29439
repo: vllm-project/vllm
pr: 29439
title: '[Bugfix] Fix grouped_topk pytorch impl when num_experts can''t be grouped properly'
author: divakar-amd
date: '2025-12-11'
url: https://github.com/vllm-project/vllm/pull/29439
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: d1e1fb4363c61080b7cd20469d5a751e88a1cdb3
inclusion_reason: kernel file changes
changed_paths:
- vllm/model_executor/layers/fused_moe/layer.py
head_ref_oid: fcbdc95c7085b74300f3756ddb30c68f1474ca37
artifact_dir: evidence/pull-bundles/vllm/gh-29439
---
# [Bugfix] Fix grouped_topk pytorch impl when num_experts can't be grouped properly

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

## Changed Paths

- `vllm/model_executor/layers/fused_moe/layer.py`

## Evidence Bundle

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