fix: add missing guard for use_jit_ep_activation (#27377)

This commit is contained in:
Lawrence Wu
2026-06-18 12:51:09 -07:00
committed by GitHub
parent 61a8b42c00
commit 792cb3a5d0
@@ -872,7 +872,7 @@ def _varlen_deep_gemm_silu_mul_quant(
)
use_jit_ep_activation = envs.SGLANG_OPT_USE_JIT_EP_ACTIVATION.get()
if N % 4 != 0 or G % 4 != 0:
if N % 4 != 0 or G % 4 != 0 or D // 8 < E:
use_jit_ep_activation = False
if use_jit_ep_activation: