mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-19 10:53:29 +00:00
Exempt IPEX from non_blocking previews fixing segmentation faults. (#3708)
This commit is contained in:
parent
ac151ac169
commit
5eb98f0092
@ -659,6 +659,8 @@ def supports_cast(device, dtype): #TODO
|
|||||||
def device_supports_non_blocking(device):
|
def device_supports_non_blocking(device):
|
||||||
if is_device_mps(device):
|
if is_device_mps(device):
|
||||||
return False #pytorch bug? mps doesn't support non blocking
|
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)
|
if args.deterministic: #TODO: figure out why deterministic breaks non blocking from gpu to cpu (previews)
|
||||||
return False
|
return False
|
||||||
if directml_enabled:
|
if directml_enabled:
|
||||||
|
Loading…
Reference in New Issue
Block a user