[NPU]Fix support_triton bug (#23604)

This commit is contained in:
Liwansi
2026-04-26 21:34:56 +08:00
committed by GitHub
parent c7878dbb6d
commit 7d49564431
+1 -1
View File
@@ -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(