ComfyUI > Nodes > ComfyUI-cluster > Dynamic LoRA Stack

ComfyUI Node: Dynamic LoRA Stack

Class Name

DynamicLoraStack

Category
Ollama/Loader
Author
GeekatplayStudio (Account age: 4275days)
Extension
ComfyUI-cluster
Latest Updated
2026-02-13
Github Stars
0.02K

How to Install ComfyUI-cluster

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

Dynamic LoRA Stack Description

Automates dynamic application of LoRA models to enhance base model for AI artists, streamlining workflow and enabling experimentation.

Dynamic LoRA Stack:

The DynamicLoraStack node is designed to dynamically manage and apply a stack of LoRA (Low-Rank Adaptation) models to a given base model and clip. This node is particularly useful for AI artists who want to enhance their models with additional features or styles without having to manually load each LoRA model. By automating the process of loading and applying multiple LoRA models, the DynamicLoraStack node streamlines the workflow, allowing for more efficient experimentation and creativity. It provides a mechanism to specify multiple LoRA models and their respective strengths, ensuring that each model is applied with the desired intensity. Additionally, the node includes a fallback mechanism to handle missing LoRA models, enhancing robustness and flexibility in model customization.

Dynamic LoRA Stack Input Parameters:

model

The base model to which the LoRA models will be applied. This parameter is crucial as it serves as the foundation upon which additional features or styles are layered through the LoRA models. There are no specific minimum or maximum values for this parameter, as it depends on the model architecture being used.

clip

The clip model that works in conjunction with the base model. It is essential for processing and integrating the LoRA models effectively. Similar to the model parameter, there are no specific constraints on this parameter, as it is dependent on the model architecture.

loras

A comma-separated string of LoRA model names to be applied. This parameter allows you to specify which LoRA models should be used, enabling customization and enhancement of the base model. There is no strict limit on the number of LoRA models that can be specified, but practical limits may be imposed by system resources.

lora_strengths

A comma-separated string of strengths corresponding to each LoRA model specified in the loras parameter. This parameter determines the intensity with which each LoRA model is applied to the base model. If a strength is not specified for a particular LoRA model, a default value of 0.7 is used. The strengths should be floating-point numbers, typically ranging from 0.0 to 1.0.

custom_path

An optional parameter that specifies a custom directory path for locating LoRA models. This allows for flexibility in organizing and accessing LoRA models, especially when they are stored in non-standard locations. If not provided, the node will use default search paths.

Dynamic LoRA Stack Output Parameters:

model_out

The modified base model after applying the specified LoRA models. This output reflects the enhancements and changes made by the LoRA models, providing a new version of the base model with additional features or styles.

clip_out

The modified clip model after applying the specified LoRA models. Similar to model_out, this output represents the updated clip model that has been adjusted to incorporate the effects of the LoRA models.

log

A log string that contains detailed information about the process of applying the LoRA models. This includes messages about loaded models, any missing models, and fallback actions taken. The log is useful for debugging and understanding the sequence of operations performed by the node.

Dynamic LoRA Stack Usage Tips:

  • Ensure that the loras and lora_strengths parameters are correctly aligned, with each LoRA model having a corresponding strength value to achieve the desired effect.
  • Utilize the custom_path parameter if your LoRA models are stored in a non-standard directory to ensure they are correctly located and loaded.
  • Review the log output to verify that all intended LoRA models were applied successfully and to troubleshoot any issues with missing models or fallback actions.

Dynamic LoRA Stack Common Errors and Solutions:

Error loading LoRA <lora_path>: <error_message>

  • Explanation: This error occurs when the node fails to load a specified LoRA model from the given path. The error message provides additional details about the nature of the failure.
  • Solution: Verify that the LoRA model file exists at the specified path and is accessible. Check for any file permission issues or incorrect file paths. Ensure that the file is not corrupted and is in a compatible format.

!!! MISSING LORA: <lora_name> !!!

  • Explanation: This message indicates that a specified LoRA model could not be found in the registry or the specified paths.
  • Solution: Confirm that the LoRA model name is correctly spelled and exists in the registry or the specified directory. If the model is missing, consider using the fallback mechanism to select an alternative model.

Dynamic LoRA Stack Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-cluster
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.

Dynamic LoRA Stack