Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > LoRA Optimizer > LoRA Stack (Dynamic)

ComfyUI Node: LoRA Stack (Dynamic)

Class Name

LoRAStackDynamic

Category
LoRA Optimizer
Author
ethanfel (Account age: 3360days)
Extension
LoRA Optimizer
Latest Updated
2026-07-19
Github Stars
0.14K

How to Install LoRA Optimizer

Install this extension via the ComfyUI Manager by searching for LoRA Optimizer
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter LoRA Optimizer 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 Stack (Dynamic) Description

LoRAStackDynamic node manages adaptable LoRA stacks in ComfyUI, offering simple and advanced modes for precise model and CLIP strength control.

LoRA Stack (Dynamic):

The LoRAStackDynamic node is designed to provide a flexible and dynamic approach to managing LoRA (Low-Rank Adaptation) stacks within the ComfyUI framework. This node allows you to create a stack of LoRAs with an adjustable number of slots, making it highly adaptable to various needs and scenarios. It supports both simple and advanced modes, where the simple mode applies a uniform strength to both the model and CLIP components of each LoRA, while the advanced mode allows for separate strengths for the model and CLIP, offering greater control over the adaptation process. The node outputs standard tuples containing the name, model strength, and CLIP strength for each LoRA, facilitating easy integration and further processing. This flexibility and control make LoRAStackDynamic an essential tool for AI artists looking to optimize their models with precision and ease.

LoRA Stack (Dynamic) Input Parameters:

slot_count

The slot_count parameter determines the number of slots available in the LoRA stack. This parameter allows you to specify how many LoRAs you wish to manage simultaneously, providing flexibility in handling multiple adaptations. The minimum value is 1, and the maximum is 10, with a default value typically set to a mid-range number like 5. Adjusting this parameter impacts the node's ability to handle complex adaptation scenarios, with more slots allowing for greater diversity in LoRA applications.

mode

The mode parameter specifies whether the node operates in simple or advanced mode. In simple mode, a single strength value is applied to both the model and CLIP components of each LoRA, simplifying the adaptation process. In advanced mode, separate strengths can be assigned to the model and CLIP, offering more granular control over the adaptation. This parameter does not have a numerical range but rather two options: "simple" and "advanced," with "simple" often being the default. Choosing the appropriate mode depends on the level of control and complexity you require for your adaptation tasks.

LoRA Stack (Dynamic) Output Parameters:

lora_tuples

The lora_tuples output parameter provides a list of tuples, each containing the name, model strength, and CLIP strength for each LoRA in the stack. This output is crucial for understanding the configuration and impact of each LoRA on the model, allowing for further analysis and optimization. The tuples serve as a standardized format for integrating with other nodes or processes, ensuring compatibility and ease of use.

LoRA Stack (Dynamic) Usage Tips:

  • To maximize the effectiveness of the LoRAStackDynamic node, start by determining the number of LoRAs you need and set the slot_count accordingly. This ensures you have enough slots to accommodate your adaptation needs without overcomplicating the stack.
  • When working with complex models that require fine-tuning, consider using the advanced mode to separately adjust the model and CLIP strengths. This allows for more precise control over the adaptation process and can lead to better results.

LoRA Stack (Dynamic) Common Errors and Solutions:

No active LoRAs in stack

  • Explanation: This error occurs when all LoRAs in the stack have a strength of zero, rendering them inactive.
  • Solution: Ensure that at least one LoRA in the stack has a non-zero strength to activate it. Adjust the strengths as needed to achieve the desired adaptation effect.

Unrecognized stack format

  • Explanation: This error indicates that the input stack format does not match the expected structure, possibly due to missing or incorrect keys.
  • Solution: Verify that each entry in the stack is a dictionary containing the required keys: name, lora, and strength. Correct any malformed entries to match the expected format.

LoRA Stack (Dynamic) Related Nodes

Go back to the extension to check out more related nodes.
LoRA Optimizer
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 Models, enabling artists to harness the latest AI tools to create incredible art.

LoRA Stack (Dynamic)