From 7d495644313407bd2daa935db000149dd6c421ba Mon Sep 17 00:00:00 2001 From: Liwansi <62291011+Liwansi@users.noreply.github.com> Date: Sun, 26 Apr 2026 21:34:56 +0800 Subject: [PATCH] [NPU]Fix support_triton bug (#23604) --- python/sglang/srt/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/utils/common.py b/python/sglang/srt/utils/common.py index 19f3a4838..0094a5266 100644 --- a/python/sglang/srt/utils/common.py +++ b/python/sglang/srt/utils/common.py @@ -365,7 +365,7 @@ def get_int_env_var(name: str, default: int = 0) -> int: def support_triton(backend: str) -> bool: - return backend not in ["torch_native", "intel_amx", "ascend"] + return backend not in ["torch_native", "intel_amx"] _ENABLE_TORCH_INFERENCE_MODE = get_bool_env_var(