From 6f6c179817c7aa1aa16bb141b96041666256ba30 Mon Sep 17 00:00:00 2001 From: Deluxe233 Date: Thu, 5 Feb 2026 01:26:30 -0500 Subject: [PATCH] Fix case of empty cached output --- comfy_execution/caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_execution/caching.py b/comfy_execution/caching.py index acba8e90a..2c967a643 100644 --- a/comfy_execution/caching.py +++ b/comfy_execution/caching.py @@ -200,7 +200,7 @@ class CacheKeySetInputSignature(CacheKeySet): if is_link(inputs[key]): ancestor_id = inputs[key][0] hashable = get_hashable(input_data_all[key]) - if hashable is Unhashable or is_link(input_data_all[key][0]): + if hashable is Unhashable or (input_data_all[key] and is_link(input_data_all[key][0])): # Link still needed node_inputs[key] = inputs[key] if ancestor_id not in ancestors: