mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-09 22:14:34 +08:00
Compare commits
2 Commits
108f5ac479
...
180e7738f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
180e7738f7 | ||
|
|
51119d3283 |
@ -320,6 +320,7 @@ def model_lora_keys_unet(model, key_map={}):
|
|||||||
to = diffusers_keys[k]
|
to = diffusers_keys[k]
|
||||||
key_lora = k[:-len(".weight")]
|
key_lora = k[:-len(".weight")]
|
||||||
key_map["diffusion_model.{}".format(key_lora)] = to
|
key_map["diffusion_model.{}".format(key_lora)] = to
|
||||||
|
key_map["transformer.{}".format(key_lora)] = to
|
||||||
key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = to
|
key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = to
|
||||||
|
|
||||||
if isinstance(model, comfy.model_base.Kandinsky5):
|
if isinstance(model, comfy.model_base.Kandinsky5):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user