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 text encoder text_projection in lora.
comfyanonymous6533b172c1eb
diff --git a/comfy/lora.py b/comfy/lora.pyindex 82d57fe13..715e0842c 100644--- a/comfy/lora.py+++ b/comfy/lora.py@@ -200,6 +200,13 @@ def model_lora_keys_clip(model, key_map={}):lora_key = "lora_prior_te_text_model_encoder_layers_{}_{}".format(b, LORA_CLIP_MAP[c]) #cascade lora: TODO put lora key prefix in the model configkey_map[lora_key] = k++ k = "clip_g.text_projection"+ if k in sdk:+ key_map["lora_prior_te_text_projection"] = k #cascade lora+ # key_map["text_encoder.text_projection"] = k #TODO: check if other lora have the text_projection too+ # key_map["lora_te_text_projection"] = k+return key_mapdef model_lora_keys_unet(model, key_map={}):