ComfyUI > Nodes > ComfyUI-YCNodes > LoRA Selector (YC)

ComfyUI Node: LoRA Selector (YC)

Class Name

YC Super Selector

Category
YCNode/LoRA
Author
yichengup (Account age: 473days)
Extension
ComfyUI-YCNodes
Latest Updated
2025-06-03
Github Stars
0.02K

How to Install ComfyUI-YCNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-YCNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-YCNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LoRA Selector (YC) Description

Specialized node for seamless switching and management of LoRA models with intuitive selection, cascading inputs, and memory efficiency.

LoRA Selector (YC):

The YC Super Selector, also known as the LoRA Selector, is a specialized node designed to facilitate the seamless switching and management of LoRA (Low-Rank Adaptation) models. This node is particularly beneficial for users who need to handle multiple LoRA models efficiently, as it offers an intuitive "mode" selection that is easier to comprehend than traditional index values. With a clear design featuring ten LoRA input ports, the YC Super Selector allows for straightforward selection and management of LoRA models. It supports cascading inputs, enabling users to chain multiple selectors together, which is ideal for managing a large number of LoRA models. The node is optimized for memory efficiency through lazy loading, meaning it only loads the selected LoRA, thus conserving system resources. This makes it an excellent tool for AI artists who need to switch between different LoRA models without the hassle of manual management.

LoRA Selector (YC) Input Parameters:

mode

The mode parameter determines the operational mode of the YC Super Selector. It can be set to either "选择LoRA" (Select LoRA) or "使用级联" (Use Cascade). In "选择LoRA" mode, the node allows you to select a specific LoRA model from the connected inputs using an index. In "使用级联" mode, the node outputs the cascade input, allowing for the chaining of multiple selectors. This parameter is crucial as it dictates how the node will function and interact with other nodes in your setup.

index

The index parameter is used when the node is in "选择LoRA" mode. It specifies which of the ten available LoRA input ports (input0 to input9) should be selected. The index is an integer value, and selecting the correct index is essential for ensuring the desired LoRA model is activated. This parameter is ignored when the node is in "使用级联" mode.

cascade_input

The cascade_input parameter is used in "使用级联" mode. It allows the output of one YC Super Selector to be fed into another, enabling the chaining of selectors. This parameter is critical for managing complex setups with multiple LoRA models, as it facilitates the seamless transition between different selectors.

LoRA Selector (YC) Output Parameters:

selected_lora

The selected_lora output parameter provides the LoRA model that has been selected based on the current mode and index. In "选择LoRA" mode, it outputs the LoRA model connected to the specified index. In "使用级联" mode, it outputs the cascade input. This output is essential for connecting the selected LoRA model to subsequent nodes in your workflow.

LoRA Selector (YC) Usage Tips:

  • To manage a large number of LoRA models, use the cascading feature by setting the first selector to "选择LoRA" and subsequent selectors to "使用级联."
  • Utilize the lazy loading feature to conserve memory by ensuring only the necessary LoRA models are loaded at any given time.

LoRA Selector (YC) Common Errors and Solutions:

警告:级联模式已选择但级联输入未连接

  • Explanation: This warning occurs when the node is set to "使用级联" mode, but no cascade input is connected.
  • Solution: Ensure that the cascade input is properly connected to the output of another YC Super Selector.

警告:索引 <index> 未连接任何LoRA

  • Explanation: This warning indicates that the specified index does not have a LoRA model connected to it.
  • Solution: Verify that the correct index is selected and that a LoRA model is connected to the corresponding input port.

LoRA Selector (YC) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-YCNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.