From 9ee15408820168311fb74d31239f0926550141be Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Fri, 22 May 2026 21:50:29 -0700 Subject: [PATCH] SelectXDevice: use lowercase validate_inputs for V3 combo bypass V3 io.ComfyNode subclasses use the lowercase `validate_inputs` hook for opting out of strict combo validation (execution.py line 862); the uppercase `VALIDATE_INPUTS` is the V1 spelling and is ignored on V3 nodes. The strict combo check at execution.py line 1025 is gated on `if x not in validate_function_inputs`, so renaming to `validate_inputs(cls, device='default')` lets unknown `gpu:N` values pass validation and fall through to the runtime fallback. Amp-Thread-ID: https://ampcode.com/threads/T-019e52b4-31ee-72cd-996b-64ecd9420e13 Co-authored-by: Amp --- comfy_extras/nodes_multigpu.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy_extras/nodes_multigpu.py b/comfy_extras/nodes_multigpu.py index df701af56..1fb134eca 100644 --- a/comfy_extras/nodes_multigpu.py +++ b/comfy_extras/nodes_multigpu.py @@ -74,7 +74,7 @@ class SelectModelDeviceNode(io.ComfyNode): ) @classmethod - def VALIDATE_INPUTS(cls, device="default"): + def validate_inputs(cls, device="default"): # Allow unknown gpu:N values so portable workflows do not error # at validation time; runtime fallback will handle them. return True @@ -123,7 +123,7 @@ class SelectCLIPDeviceNode(io.ComfyNode): ) @classmethod - def VALIDATE_INPUTS(cls, device="default"): + def validate_inputs(cls, device="default"): return True @classmethod @@ -172,7 +172,7 @@ class SelectVAEDeviceNode(io.ComfyNode): ) @classmethod - def VALIDATE_INPUTS(cls, device="default"): + def validate_inputs(cls, device="default"): return True @classmethod