mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-06 19:42:34 +08:00
Fix some custom nodes breaking.
This commit is contained in:
parent
32621c6a11
commit
87ae3b6a44
@ -111,6 +111,10 @@ def move_weight_functions(m, device):
|
|||||||
memory += f.move_to(device=device)
|
memory += f.move_to(device=device)
|
||||||
return memory
|
return memory
|
||||||
|
|
||||||
|
def string_to_seed(data):
|
||||||
|
logging.warning("WARNING: string_to_seed has moved from comfy.model_patcher to comfy.utils")
|
||||||
|
return comfy.utils.string_to_seed(data)
|
||||||
|
|
||||||
class LowVramPatch:
|
class LowVramPatch:
|
||||||
def __init__(self, key, patches, convert_func=None, set_func=None):
|
def __init__(self, key, patches, convert_func=None, set_func=None):
|
||||||
self.key = key
|
self.key = key
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user