---
id: pr-sglang-6369
repo: sgl-project/sglang
pr: 6369
title: reduce torch.zeros overhead in moe align block size kernel
author: BBuf
date: '2025-06-07'
url: https://github.com/sgl-project/sglang/pull/6369
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
- python
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 8b5f83ed3b7d2a49ad5c5cd5aa61c5d502f47dbc
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/moe/fused_moe_triton/fused_moe.py
- sgl-kernel/csrc/moe/moe_align_kernel.cu
head_ref_oid: f232eff8b2b26df788b9ce307449eacb58d6e0c8
artifact_dir: evidence/pull-bundles/sglang/gh-6369
---
# reduce torch.zeros overhead in moe align block size kernel

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

## Changed Paths

- `python/sglang/srt/layers/moe/fused_moe_triton/fused_moe.py`
- `sgl-kernel/csrc/moe/moe_align_kernel.cu`

## Evidence Bundle

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