Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized node for seamless switching and management of LoRA models with intuitive selection, cascading inputs, and memory efficiency.
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.
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.
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.
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.
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.
<index>
未连接任何LoRARunComfy 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.