ComfyUI > Nodes > Realtime LoRA Trainer > LoRA Loader + Analyzer

ComfyUI Node: LoRA Loader + Analyzer

Class Name

LoRALoaderWithAnalysis

Category
loaders/lora
Author
ShootTheSound (Account age: 1239days)
Extension
Realtime LoRA Trainer
Latest Updated
2025-12-23
Github Stars
0.28K

How to Install Realtime LoRA Trainer

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

LoRALoaderWithAnalysis: Loads LoRA models and analyzes block contributions for AI art optimization.

LoRA Loader + Analyzer:

The LoRALoaderWithAnalysis node is designed to load a LoRA (Low-Rank Adaptation) model and analyze its impact on different blocks during the inference process. This node is particularly useful for AI artists who want to understand how different parts of a LoRA model contribute to the final output. By providing a detailed per-block contribution analysis, it allows users to see which blocks are affected by the LoRA and to what extent. This insight can be crucial for fine-tuning models and achieving desired artistic effects. The node not only performs static analysis to show potential block impacts but also offers runtime analysis to display actual contributions after generation. This dual analysis capability makes it a powerful tool for those looking to optimize their use of LoRA models in creative projects.

LoRA Loader + Analyzer Input Parameters:

model

This parameter represents the base model to which the LoRA will be applied. It is essential for determining the context in which the LoRA operates, affecting the overall output of the node.

clip

The CLIP parameter refers to the text encoder model that works alongside the LoRA. It is crucial for processing textual inputs and ensuring that the LoRA's effects are aligned with the intended textual prompts.

lora_name

This parameter specifies the name of the LoRA file to be loaded and analyzed. It is selected from a list of available LoRA files, and it determines which LoRA model will be applied to the base model. The choice of LoRA can significantly impact the style and characteristics of the generated output.

strength_model

The strength_model parameter controls the intensity of the LoRA's effect on the base model, with a default value of 1.0. It can be adjusted between -10.0 and 10.0, allowing users to fine-tune the influence of the LoRA on the model's output. A higher value increases the LoRA's impact, while a lower value reduces it.

strength_clip

Similar to strength_model, the strength_clip parameter adjusts the LoRA's influence on the CLIP text encoder. It also ranges from -10.0 to 10.0, with a default of 1.0. This parameter is crucial for balancing the textual and visual aspects of the generated content, ensuring that the LoRA's effects are harmonized with the text prompts.

LoRA Loader + Analyzer Output Parameters:

model

This output represents the base model with the LoRA applied. It reflects the combined effects of the original model and the LoRA, providing a modified version that incorporates the LoRA's characteristics.

clip

The CLIP output is the text encoder model with the LoRA applied. It shows how the LoRA has influenced the text processing capabilities of the CLIP model, which can affect the alignment between text prompts and visual outputs.

analysis

This output provides a per-block patch analysis, indicating which blocks are affected by the LoRA and their relative strength. It is a valuable tool for understanding the distribution of the LoRA's impact across different parts of the model.

analysis_json

The analysis_json output contains the analysis data in JSON format. This data can be connected to a Selective LoRA Loader for a more visual representation, allowing users to see the impact of the LoRA in a color-coded UI.

lora_path

This output provides the full path to the loaded LoRA file. It is useful for tracking which LoRA was used in the analysis and for ensuring that the correct file is being referenced in subsequent operations.

LoRA Loader + Analyzer Usage Tips:

  • To achieve the best results, experiment with different strength_model and strength_clip values to find the optimal balance for your specific project.
  • Use the analysis_json output to visually inspect the impact of the LoRA on different blocks, which can help in making informed adjustments to the model.

LoRA Loader + Analyzer Common Errors and Solutions:

"LoRA file not found"

  • Explanation: This error occurs when the specified LoRA file cannot be located in the directory.
  • Solution: Ensure that the LoRA file name is correct and that it is located in the designated folder. Check the file path for any typos or errors.

"Invalid strength value"

  • Explanation: This error is triggered when the strength values for strength_model or strength_clip are set outside the allowed range.
  • Solution: Adjust the strength values to be within the range of -10.0 to 10.0. Double-check the input values to ensure they are within the specified limits.

LoRA Loader + Analyzer Related Nodes

Go back to the extension to check out more related nodes.
Realtime LoRA Trainer
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.