mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 10:10:04 +00:00
Fix some custom nodes breaking. (#12203)
This commit is contained in:
@@ -111,6 +111,10 @@ def move_weight_functions(m, device):
|
||||
memory += f.move_to(device=device)
|
||||
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:
|
||||
def __init__(self, key, patches, convert_func=None, set_func=None):
|
||||
self.key = key
|
||||
|
||||
Reference in New Issue
Block a user