Kaynağa Gözat

fix: XPU build

AlpinDale 3 ay önce
ebeveyn
işleme
22425b689d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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():