ComfyUI > Nodes > Realtime LoRA Trainer > Apply Trained LoRA

ComfyUI Node: Apply Trained LoRA

Class Name

ApplyTrainedLora

Category
loaders
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

Apply Trained LoRA Description

Integrates trained LoRA into diffusion models, enhancing and customizing AI model capabilities.

Apply Trained LoRA:

The ApplyTrainedLora node is designed to seamlessly integrate a trained LoRA (Low-Rank Adaptation) into a diffusion model, enhancing its capabilities by applying learned modifications. This node is particularly useful for AI artists who want to customize or fine-tune their models with specific characteristics captured by the LoRA. By connecting the output from the RealtimeLoraTrainer, this node allows you to apply the LoRA with a specified strength, offering flexibility in how much influence the LoRA has on the model. The primary goal of this node is to provide an easy and efficient way to enhance models with pre-trained LoRAs, making it a valuable tool for those looking to experiment with or deploy customized AI models in their creative projects.

Apply Trained LoRA Input Parameters:

model

This parameter represents the diffusion model to which the LoRA will be applied. It is the base model that you want to enhance or modify using the LoRA. The model serves as the foundation, and the LoRA introduces specific changes or features to it.

lora_path

The lora_path is a string parameter that specifies the file path to the LoRA file you wish to apply. This path is crucial as it directs the node to the correct LoRA file generated by the RealtimeLoraTrainer. It is a required input, and the path must be valid and accessible for the node to function correctly.

strength

The strength parameter is a float that determines how strongly the LoRA is applied to the model. It allows you to control the degree of influence the LoRA has, with a default value of 1.0. The parameter can range from -10.0 to 10.0, where negative values might invert the effect, and values greater than 1.0 amplify the LoRA's impact. Adjusting this parameter helps in fine-tuning the model's output to achieve the desired artistic effect.

Apply Trained LoRA Output Parameters:

model

This output is the diffusion model with the applied LoRA. It reflects the modifications introduced by the LoRA, adjusted by the specified strength, and is ready for further use or deployment in your projects.

lora_name

The lora_name is a string output that provides the name of the loaded LoRA. This is useful for tracking and identifying which LoRA has been applied, especially when working with multiple LoRAs.

lora_path

This output returns the full path to the LoRA file that was applied. It serves as a reference to ensure that the correct LoRA was used and can be helpful for documentation or future reference.

Apply Trained LoRA Usage Tips:

  • Ensure that the lora_path is correctly set to the output from the RealtimeLoraTrainer to avoid errors and ensure the correct LoRA is applied.
  • Experiment with the strength parameter to find the optimal level of influence for your specific artistic needs. Start with the default value and adjust incrementally to see how it affects the model's output.
  • Use the lora_name output to keep track of different LoRAs applied to various models, which can be particularly useful in complex projects involving multiple modifications.

Apply Trained LoRA Common Errors and Solutions:

No valid path provided, passing through unchanged

  • Explanation: This error occurs when the lora_path is either not provided or is invalid, meaning the file does not exist at the specified location.
  • Solution: Double-check the lora_path to ensure it is correct and points to an existing LoRA file. Make sure the path is accessible and correctly formatted.

Strength is 0, skipping

  • Explanation: This message indicates that the strength parameter is set to 0, resulting in the LoRA not being applied to the model.
  • Solution: Adjust the strength parameter to a non-zero value to apply the LoRA. A value of 1.0 is a good starting point for typical applications.

Apply Trained LoRA 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.