@@ -67,7 +67,6 @@ def __init__(self, dynprompt, node_ids, is_changed_cache):
6767 super ().__init__ (dynprompt , node_ids , is_changed_cache )
6868 self .dynprompt = dynprompt
6969 self .is_changed_cache = is_changed_cache
70- self .immediate_node_signature = {}
7170 self .add_keys (node_ids )
7271
7372 def include_node_id_in_input (self ) -> bool :
@@ -95,8 +94,6 @@ def get_immediate_node_signature(self, dynprompt, node_id, ancestor_order_mappin
9594 if not dynprompt .has_node (node_id ):
9695 # This node doesn't exist -- we can't cache it.
9796 return [float ("NaN" )]
98- if node_id in self .immediate_node_signature : # reduce repeated calls of ancestors
99- return self .immediate_node_signature [node_id ]
10097 node = dynprompt .get_node (node_id )
10198 class_type = node ["class_type" ]
10299 class_def = nodes .NODE_CLASS_MAPPINGS [class_type ]
@@ -111,7 +108,6 @@ def get_immediate_node_signature(self, dynprompt, node_id, ancestor_order_mappin
111108 signature .append ((key ,("ANCESTOR" , ancestor_index , ancestor_socket )))
112109 else :
113110 signature .append ((key , inputs [key ]))
114- self .immediate_node_signature [node_id ] = signature
115111 return signature
116112
117113 # This function returns a list of all ancestors of the given node. The order of the list is
0 commit comments