mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-16 22:58:19 +08:00
Replace sanitize and hash passes
This commit is contained in:
parent
24fdbb9aca
commit
dbed5a1b52
@ -417,9 +417,11 @@ class CacheKeySetInputSignature(CacheKeySet):
|
||||
return _signature_to_hashable(signature)
|
||||
|
||||
async def get_immediate_node_signature(self, dynprompt, node_id, ancestor_order_mapping):
|
||||
"""Build the cache-signature fragment for a node's immediate inputs.
|
||||
"""Build the immediate cache-signature fragment for a node.
|
||||
|
||||
Link inputs are reduced to ancestor references, while raw values are sanitized first.
|
||||
Link inputs are reduced to ancestor references here, while non-link
|
||||
values are appended as-is. Full canonicalization happens later in
|
||||
`get_node_signature()` via `_signature_to_hashable()`.
|
||||
"""
|
||||
if not dynprompt.has_node(node_id):
|
||||
# This node doesn't exist -- we can't cache it.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user