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.

fix (MultiGPU): prevent freeze on manual abort when using MultiGPU CFG Split (#14235)

Quasar of Mikuse9207aa7ccb6
diff --git a/comfy/multigpu.py b/comfy/multigpu.py
index bb9d334d3..2b6d8260d 100644
--- a/comfy/multigpu.py
+++ b/comfy/multigpu.py
@@ -54,6 +54,8 @@ class MultiGPUThreadPool:
try:
result = fn(*args, **kwargs)
result_q.put((result, None))
+ except comfy.model_management.InterruptProcessingException as e:
+ result_q.put((None, e))
except Exception as e:
result_q.put((None, e))