Merge branch 'comfyanonymous:master' into master

This commit is contained in:
patientx 2024-10-01 11:55:23 +03:00 committed by GitHub
commit 305c31142b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,6 +294,7 @@ def model_lora_keys_unet(model, key_map={}):
unet_key = "diffusion_model.{}".format(diffusers_keys[k])
key_lora = k[:-len(".weight")].replace(".", "_")
key_map["lora_unet_{}".format(key_lora)] = unet_key
key_map["lycoris_{}".format(key_lora)] = unet_key #simpletuner lycoris format
diffusers_lora_prefix = ["", "unet."]
for p in diffusers_lora_prefix: