---
id: pr-sglang-23707
repo: sgl-project/sglang
pr: 23707
title: '[MoE] Deprecate act_and_mul_triton; fold filter_expert into JIT silu/gelu_and_mul'
author: ch-wan
date: '2026-04-26'
url: https://github.com/sgl-project/sglang/pull/23707
source_category: upstream-code
architectures:
- sm100
tags:
- CUDA kernel
- benchmark kernel
- benchmark_test
- compiler_runtime
- csrc kernel
- fused moe
- jit_kernel
- moe kernel
- moe_routing
- norm_elementwise
- triton kernel
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- compiler
- moe
- norm
languages:
- cuda-cpp
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: c7878dbb6ddfc9c6721b9db20a876f2718b0e955
inclusion_reason: 'Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.'
changed_paths:
- python/sglang/jit_kernel/activation.py
- python/sglang/jit_kernel/benchmark/bench_activation.py
- python/sglang/jit_kernel/csrc/elementwise/activation.cuh
- python/sglang/jit_kernel/tests/test_activation.py
- python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe.py
- python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe_triton_kernels.py
artifact_dir: evidence/pull-bundles/sglang/gh-23707
head_ref_oid: 5143173ba175e1db3371eb4f4bc8aed0d4640e86
---
# [MoE] Deprecate act_and_mul_triton; fold filter_expert into JIT silu/gelu_and_mul

- Repository: `sgl-project/sglang`
- PR: [23707](https://github.com/sgl-project/sglang/pull/23707)
- Decision: `Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.`
- Reason: Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.

## Changed Paths

- `python/sglang/jit_kernel/activation.py`
- `python/sglang/jit_kernel/benchmark/bench_activation.py`
- `python/sglang/jit_kernel/csrc/elementwise/activation.cuh`
- `python/sglang/jit_kernel/tests/test_activation.py`
- `python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe.py`
- `python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe_triton_kernels.py`

## Evidence Bundle

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