mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 04:40:03 +08:00
Merge 9350384f6ed3aa3a2a95747925577affd7a5b097 into dafbe321d2dfbe2cabd9eb32e88f8088996cd524
This commit is contained in:
commit
261d0d8043
@ -588,6 +588,9 @@ class ModelPatcher:
|
||||
weight += function(((strength * alpha) * lora_diff).type(weight.dtype))
|
||||
except Exception as e:
|
||||
logging.error("ERROR {} {} {}".format(patch_type, key, e))
|
||||
|
||||
elif patch_type == "patch_function":
|
||||
weight = v(p, weight, key)
|
||||
else:
|
||||
logging.warning("patch type not recognized {} {}".format(patch_type, key))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user