diff --git a/comfy/lora.py b/comfy/lora.py index d29816830..f0af526b5 100644 --- a/comfy/lora.py +++ b/comfy/lora.py @@ -309,8 +309,6 @@ def model_lora_keys_unet(model, key_map={}): if k.startswith("diffusion_model."): if k.endswith(".weight"): key_lora = k[len("diffusion_model."):-len(".weight")] - key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = k - key_map["transformer.{}".format(key_lora)] = k key_map["model.{}".format(key_lora)] = k if isinstance(model, comfy.model_base.ACEStep):