mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-03-18 03:47:01 +08:00
Merge branch 'comfyanonymous:master' into master
This commit is contained in:
commit
43a0204b07
@ -384,6 +384,7 @@ def model_lora_keys_unet(model, key_map={}):
|
||||
key_lora = key_lora.replace(".modulation.lin.", ".modulation.linear.")
|
||||
key_lora = key_lora[len("diffusion_model."):-len(".weight")]
|
||||
key_map["transformer.{}".format(key_lora)] = k
|
||||
key_map["diffusion_model.{}".format(key_lora)] = k # Old loras
|
||||
|
||||
return key_map
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user