Skip to content

feat(nodes): clean up lora node names #7824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions invokeai/app/invocations/flux_lora_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ class FluxLoRALoaderOutput(BaseInvocationOutput):

@invocation(
"flux_lora_loader",
title="FLUX LoRA",
title="Apply LoRA - FLUX",
tags=["lora", "model", "flux"],
category="model",
version="1.2.0",
version="1.2.1",
classification=Classification.Prototype,
)
class FluxLoRALoaderInvocation(BaseInvocation):
Expand Down Expand Up @@ -107,10 +107,10 @@ def invoke(self, context: InvocationContext) -> FluxLoRALoaderOutput:

@invocation(
"flux_lora_collection_loader",
title="FLUX LoRA Collection Loader",
title="Apply LoRA Collection - FLUX",
tags=["lora", "model", "flux"],
category="model",
version="1.3.0",
version="1.3.1",
classification=Classification.Prototype,
)
class FLUXLoRACollectionLoader(BaseInvocation):
Expand Down
14 changes: 7 additions & 7 deletions invokeai/app/invocations/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class LoRALoaderOutput(BaseInvocationOutput):
clip: Optional[CLIPField] = OutputField(default=None, description=FieldDescriptions.clip, title="CLIP")


@invocation("lora_loader", title="LoRA", tags=["model"], category="model", version="1.0.3")
@invocation("lora_loader", title="Apply LoRA - SD1.5", tags=["model"], category="model", version="1.0.4")
class LoRALoaderInvocation(BaseInvocation):
"""Apply selected lora to unet and text_encoder."""

Expand Down Expand Up @@ -244,7 +244,7 @@ class LoRASelectorOutput(BaseInvocationOutput):
lora: LoRAField = OutputField(description="LoRA model and weight", title="LoRA")


@invocation("lora_selector", title="LoRA Model - SD1.5", tags=["model"], category="model", version="1.0.2")
@invocation("lora_selector", title="Select LoRA", tags=["model"], category="model", version="1.0.3")
class LoRASelectorInvocation(BaseInvocation):
"""Selects a LoRA model and weight."""

Expand All @@ -258,7 +258,7 @@ def invoke(self, context: InvocationContext) -> LoRASelectorOutput:


@invocation(
"lora_collection_loader", title="LoRA Collection - SD1.5", tags=["model"], category="model", version="1.1.1"
"lora_collection_loader", title="Apply LoRA Collection - SD1.5", tags=["model"], category="model", version="1.1.2"
)
class LoRACollectionLoader(BaseInvocation):
"""Applies a collection of LoRAs to the provided UNet and CLIP models."""
Expand Down Expand Up @@ -322,10 +322,10 @@ class SDXLLoRALoaderOutput(BaseInvocationOutput):

@invocation(
"sdxl_lora_loader",
title="LoRA Model - SDXL",
title="Apply LoRA - SDXL",
tags=["lora", "model"],
category="model",
version="1.0.4",
version="1.0.5",
)
class SDXLLoRALoaderInvocation(BaseInvocation):
"""Apply selected lora to unet and text_encoder."""
Expand Down Expand Up @@ -402,10 +402,10 @@ def invoke(self, context: InvocationContext) -> SDXLLoRALoaderOutput:

@invocation(
"sdxl_lora_collection_loader",
title="LoRA Collection - SDXL",
title="Apply LoRA Collection - SDXL",
tags=["model"],
category="model",
version="1.1.1",
version="1.1.2",
)
class SDXLLoRACollectionLoader(BaseInvocation):
"""Applies a collection of SDXL LoRAs to the provided UNet and CLIP models."""
Expand Down
14 changes: 7 additions & 7 deletions invokeai/frontend/web/src/services/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6496,7 +6496,7 @@ export type components = {
fieldName: string;
};
/**
* FLUX LoRA Collection Loader
* Apply LoRA Collection - FLUX
* @description Applies a collection of LoRAs to a FLUX transformer.
*/
FLUXLoRACollectionLoader: {
Expand Down Expand Up @@ -7885,7 +7885,7 @@ export type components = {
type: "flux_ip_adapter";
};
/**
* FLUX LoRA
* Apply LoRA - FLUX
* @description Apply a LoRA model to a FLUX transformer and/or text encoder.
*/
FluxLoRALoaderInvocation: {
Expand Down Expand Up @@ -13126,7 +13126,7 @@ export type components = {
type: "llava_onevision_vllm";
};
/**
* LoRA Collection - SD1.5
* Apply LoRA Collection - SD1.5
* @description Applies a collection of LoRAs to the provided UNet and CLIP models.
*/
LoRACollectionLoader: {
Expand Down Expand Up @@ -13260,7 +13260,7 @@ export type components = {
weight: number;
};
/**
* LoRA
* Apply LoRA - SD1.5
* @description Apply selected lora to unet and text_encoder.
*/
LoRALoaderInvocation: {
Expand Down Expand Up @@ -13428,7 +13428,7 @@ export type components = {
weight: number;
};
/**
* LoRA Model - SD1.5
* Select LoRA
* @description Selects a LoRA model and weight.
*/
LoRASelectorInvocation: {
Expand Down Expand Up @@ -17982,7 +17982,7 @@ export type components = {
type: "sdxl_compel_prompt";
};
/**
* LoRA Collection - SDXL
* Apply LoRA Collection - SDXL
* @description Applies a collection of SDXL LoRAs to the provided UNet and CLIP models.
*/
SDXLLoRACollectionLoader: {
Expand Down Expand Up @@ -18036,7 +18036,7 @@ export type components = {
type: "sdxl_lora_collection_loader";
};
/**
* LoRA Model - SDXL
* Apply LoRA - SDXL
* @description Apply selected lora to unet and text_encoder.
*/
SDXLLoRALoaderInvocation: {
Expand Down
Loading