From 1a36287b89f337057ebeb5d1bee30567e985b444 Mon Sep 17 00:00:00 2001 From: Kunshang Ji Date: Mon, 19 Aug 2024 13:00:09 +0800 Subject: [PATCH] [Bugfix] Fix xpu build (#7644) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9e34433eff0d8..ef599b613667b 100644 --- a/setup.py +++ b/setup.py @@ -279,7 +279,7 @@ def _build_custom_ops() -> bool: def _build_core_ext() -> bool: - return not _is_neuron() and not _is_tpu() and not _is_openvino() + return not (_is_neuron() or _is_tpu() or _is_openvino() or _is_xpu()) def get_hipcc_rocm_version():