---
id: pr-sglang-6474
repo: sgl-project/sglang
pr: 6474
title: Fix topk inference performance reduce
author: lambert0312
date: '2025-05-23'
url: https://github.com/sgl-project/sglang/pull/6474
source_category: upstream-code
architectures:
- sm100
tags:
- moe
techniques: []
hardware_features: []
kernel_types:
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 2f42749184ca3679d2bb0361903f46632408f9a2
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/moe/topk.py
head_ref_oid: eaa2c42c37d5cac6c69174564e83ca3136180d94
artifact_dir: evidence/pull-bundles/sglang/gh-6474
---
# Fix topk inference performance reduce

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

## Changed Paths

- `python/sglang/srt/layers/moe/topk.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-6474`
