The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Disable non_blocking when --deterministic or directml.
comfyanonymousbf3e334d4688
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex 5c1afd3d6..b353e50bf 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -629,6 +629,10 @@ def supports_dtype(device, dtype): #TODOdef device_supports_non_blocking(device):if is_device_mps(device):return False #pytorch bug? mps doesn't support non blocking+ if args.deterministic: #TODO: figure out why deterministic breaks non blocking from gpu to cpu (previews)+ return False+ if directml_enabled:+ return Falsereturn Truedef device_should_use_non_blocking(device):