Browse Source

fix: XPU build

AlpinDale 3 tháng trước cách đây
mục cha
commit
22425b689d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -279,7 +279,7 @@ def _build_custom_ops() -> bool:
 
 
 def _build_core_ext() -> bool:
-    return not _is_neuron() and not _is_tpu()
+    return not (_is_neuron() or _is_tpu() or _is_openvino() or _is_xpu())
 
 
 def get_hipcc_rocm_version():