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 > Save Merged LoRA

ComfyUI Node: Save Merged LoRA

Class Name

SaveMergedLoRA

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

Save Merged LoRA Description

The SaveMergedLoRA node consolidates and saves merged LoRA patches as a `.safetensors` file.

Save Merged LoRA:

The SaveMergedLoRA node is designed to save merged LoRA (Low-Rank Adaptation) patches from the LoRA Optimizer as a standalone .safetensors file. This file format is widely compatible and can be loaded by any standard LoRA loader, making it a versatile tool for AI artists who work with various LoRA models. The primary function of this node is to consolidate the modifications made by multiple LoRA patches into a single, cohesive file that retains the intended effects and strengths of the original patches. This process ensures that the merged LoRA can be easily reused or shared without losing the nuanced adjustments made during the optimization phase. By providing a streamlined method to save these merged patches, the node enhances workflow efficiency and facilitates the distribution of customized LoRA models.

Save Merged LoRA Input Parameters:

model

This parameter represents the base model to which the merged LoRAs will be applied. It is crucial as it serves as the foundation for the LoRA modifications, ensuring that the merged patches are compatible with the model's architecture and intended use.

lora_stack

The lora_stack parameter is a collection of LoRAs that you wish to merge. It acts as the input list of LoRA patches, each with its own set of modifications and strengths. This stack is essential for determining how the individual LoRAs will be combined and applied to the base model.

output_strength

This parameter controls the overall effect of the merged LoRA patches. It is a floating-point value with a default of 1.0, a minimum of -1.0, and a maximum of 10.0. The output_strength determines the intensity of the merged result, where 1.0 represents the full effect, 0.5 represents half, and 0 disables the effect. Setting it to -1 enables an automatic mode that compensates for any energy lost during the merge process.

Save Merged LoRA Output Parameters:

merged_model

The merged_model output is the result of applying the merged LoRA patches to the base model. It reflects the combined modifications and strengths of the individual LoRAs, providing a single, cohesive model that incorporates all the intended adjustments.

report

This output provides an analysis report detailing the merging process, including the strategies and parameters chosen. It offers insights into the decisions made during the merge, helping users understand the final outcome and any potential areas for further optimization.

Save Merged LoRA Usage Tips:

  • Ensure that the base model is compatible with the LoRA patches you intend to merge. This compatibility is crucial for achieving the desired effects without introducing errors or inconsistencies.
  • Experiment with the output_strength parameter to find the optimal balance for your specific use case. The automatic mode can be particularly useful if you're unsure about the appropriate strength setting.
  • Regularly review the analysis report to gain insights into the merging process and identify any potential areas for improvement or adjustment.

Save Merged LoRA Common Errors and Solutions:

"No LoRAs in stack."

  • Explanation: This error occurs when the lora_stack parameter is empty or contains only LoRAs with zero strength.
  • Solution: Ensure that the lora_stack contains at least one active LoRA with a non-zero strength before attempting to merge.

"Incompatible model architecture."

  • Explanation: This error indicates that the base model is not compatible with the LoRA patches being merged.
  • Solution: Verify that the base model's architecture matches the requirements of the LoRA patches. Adjust the model or select compatible LoRAs as needed.

Save Merged LoRA 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.

Save Merged LoRA