mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-23 01:53:32 +08:00
parent
6728d4d439
commit
3568b82b76
@ -47,8 +47,6 @@ class CacheKeySet(ABC):
|
|||||||
return self.subcache_keys.get(node_id, None)
|
return self.subcache_keys.get(node_id, None)
|
||||||
|
|
||||||
class Unhashable:
|
class Unhashable:
|
||||||
"""Hashable sentinel used when an input cannot be safely represented."""
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Create a hashable sentinel value for unhashable prompt inputs."""
|
"""Create a hashable sentinel value for unhashable prompt inputs."""
|
||||||
self.value = float("NaN")
|
self.value = float("NaN")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user