The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Support SimpleTuner lycoris lora format for HiDream.
comfyanonymousf935d42d8ee3
diff --git a/comfy/lora.py b/comfy/lora.pyindex 8760a21fb..fff524be2 100644--- a/comfy/lora.py+++ b/comfy/lora.py@@ -279,6 +279,13 @@ def model_lora_keys_unet(model, key_map={}):key_map["transformer.{}".format(key_lora)] = kkey_map["diffusion_model.{}".format(key_lora)] = k # Old loras+ if isinstance(model, comfy.model_base.HiDream):+ for k in sdk:+ if k.startswith("diffusion_model."):+ if k.endswith(".weight"):+ key_lora = k[len("diffusion_model."):-len(".weight")].replace(".", "_")+ key_map["lycoris_{}".format(key_lora)] = k #SimpleTuner lycoris format+return key_map