mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-22 13:11:20 +08:00
Turn non_blocking off by default for xpu.
This commit is contained in:
parent
6c4c56dd96
commit
c2f81a8556
@ -954,7 +954,7 @@ 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(): #xpu does support non blocking but it is slower on iGPUs for some reason so disable by default until situation changes
|
if is_intel_xpu(): #xpu does support non blocking but it is slower on iGPUs for some reason so disable by default until situation changes
|
||||||
return True
|
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…
x
Reference in New Issue
Block a user