>>108117411
>good stuff
Debatable. I've yet to get a good lokr output. Be aware it doesn't work in comfyui without editing LoRA.py as well.
if isinstance(model, comfy.model_base.ACEStep15):
for k in sdk:
if k.startswith("diffusion_model.decoder.") and k.endswith(".weight"):
key_lora = k[len("diffusion_model.decoder."):-len(".weight")]
key_map["base_model.model.{}".format(key_lora)] = k # Official base model loras
key_map["lycoris_{}".format(key_lora.replace(".", "_"))] = k
key_map["lora_unet_{}".format(key_lora.replace(".", "_"))] = k
return key_map