Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Exempt IPEX from non_blocking previews fixing segmentation faults. (#3708)

Simon Lui5eb98f00927a
diff --git a/comfy/model_management.py b/comfy/model_management.py
index dbd0dbac6..dbb33d07f 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -659,6 +659,8 @@ def supports_cast(device, dtype): #TODO
def device_supports_non_blocking(device):
if is_device_mps(device):
return False #pytorch bug? mps doesn't support non blocking
+ if is_intel_xpu():
+ return False
if args.deterministic: #TODO: figure out why deterministic breaks non blocking from gpu to cpu (previews)
return False
if directml_enabled: