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.

Import intel_extension_for_pytorch as ipex

藍+85CD84b9c0ac2ff4
diff --git a/comfy/model_management.py b/comfy/model_management.py
index f0b8be55e..379cc18d7 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -87,7 +87,7 @@ except:
pass
try:
- import intel_extension_for_pytorch
+ import intel_extension_for_pytorch as ipex
if torch.xpu.is_available():
vram_state = XPU
except: