---
id: pr-sglang-6699
repo: sgl-project/sglang
pr: 6699
title: '[EP] Add cuda kernel for moe_ep_pre_reorder'
author: yuan-luo
date: '2025-06-02'
url: https://github.com/sgl-project/sglang/pull/6699
source_category: upstream-code
architectures:
- sm100
tags:
- moe
techniques: []
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 55444ed667156973a1baa827a7ba9b05f298c530
inclusion_reason: kernel file changes
changed_paths:
- sgl-kernel/CMakeLists.txt
- sgl-kernel/benchmark/bench_moe_ep_pre_reorder.py
- sgl-kernel/csrc/common_extension.cc
- sgl-kernel/csrc/moe/ep_moe_reorder_kernel.cu
- sgl-kernel/include/sgl_kernel_ops.h
- sgl-kernel/python/sgl_kernel/__init__.py
- sgl-kernel/python/sgl_kernel/moe.py
head_ref_oid: f6aeaf168b80f85bb6383c452ec8b48cf8bacc06
artifact_dir: evidence/pull-bundles/sglang/gh-6699
---
# [EP] Add cuda kernel for moe_ep_pre_reorder

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

## Changed Paths

- `sgl-kernel/CMakeLists.txt`
- `sgl-kernel/benchmark/bench_moe_ep_pre_reorder.py`
- `sgl-kernel/csrc/common_extension.cc`
- `sgl-kernel/csrc/moe/ep_moe_reorder_kernel.cu`
- `sgl-kernel/include/sgl_kernel_ops.h`
- `sgl-kernel/python/sgl_kernel/__init__.py`
- `sgl-kernel/python/sgl_kernel/moe.py`

## Evidence Bundle

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