ComfyUI > Nodes > ComfyUI > Load LoRA (Bypass) (For debugging)

ComfyUI Node: Load LoRA (Bypass) (For debugging)

Class Name

LoraLoaderBypass

Category
loaders
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

Load LoRA (Bypass) (For debugging) Description

Apply LoRA in bypass mode to enhance model capabilities without altering base model weights, beneficial for AI experimentation.

Load LoRA (Bypass) (For debugging):

The LoraLoaderBypass node is designed to apply LoRA (Low-Rank Adaptation) in a bypass mode, which allows you to integrate LoRA computations into the forward pass of a model without altering the base model's weights. This approach is particularly beneficial in scenarios where model weights are offloaded or when training is involved, as it maintains the integrity of the original model while still leveraging the adaptability of LoRA. By injecting the LoRA computation during the forward pass, the node ensures that the output is a combination of the base model's forward pass and the LoRA path, effectively enhancing the model's capabilities without permanent modifications. This method is advantageous for AI artists and developers who need to experiment with different LoRA configurations without committing to weight changes, providing a flexible and efficient way to explore model adaptations.

Load LoRA (Bypass) (For debugging) Input Parameters:

model

This parameter represents the diffusion model to which the LoRA will be applied. It is crucial as it serves as the base model that will be enhanced by the LoRA computation. The model remains unaltered in terms of its weights, ensuring that any changes are non-destructive and reversible.

clip

The CLIP model parameter is another essential component that the LoRA can be applied to. Similar to the diffusion model, the CLIP model's weights are not modified directly. Instead, the LoRA computation is injected during the forward pass, allowing for dynamic adjustments without permanent changes.

lora_name

This parameter specifies the name of the LoRA to be applied. It is selected from a list of available LoRA files, which are typically stored in a designated directory. The correct selection of the LoRA file is crucial for achieving the desired model adaptation.

strength_model

This floating-point parameter determines the intensity with which the LoRA modifies the diffusion model. It has a default value of 1.0 and can range from -100.0 to 100.0, allowing for both enhancement and attenuation of the model's features. A negative value can be used to reduce the influence of the LoRA.

strength_clip

Similar to strength_model, this parameter controls the strength of the LoRA's effect on the CLIP model. It also ranges from -100.0 to 100.0, with a default value of 1.0. Adjusting this parameter allows for fine-tuning the balance between the base CLIP model and the LoRA's influence.

Load LoRA (Bypass) (For debugging) Output Parameters:

MODEL

The output parameter MODEL represents the modified diffusion model after the LoRA computation has been applied in bypass mode. This output is crucial for evaluating the effects of the LoRA on the model's performance and characteristics without altering the original model weights.

CLIP

The CLIP output parameter is the modified CLIP model, reflecting the changes introduced by the LoRA computation. This output allows users to assess how the LoRA affects the CLIP model's capabilities, providing insights into the adaptability and performance enhancements achieved through the bypass method.

Load LoRA (Bypass) (For debugging) Usage Tips:

  • Experiment with different strength_model and strength_clip values to find the optimal balance for your specific task. Start with the default value and adjust incrementally to observe the effects.
  • Use the lora_name parameter to quickly switch between different LoRA configurations, allowing for rapid prototyping and testing of various model adaptations without altering the base model.

Load LoRA (Bypass) (For debugging) Common Errors and Solutions:

"LoRA file not found"

  • Explanation: This error occurs when the specified lora_name does not correspond to an existing file in the designated directory.
  • Solution: Ensure that the lora_name is correctly spelled and that the file exists in the expected directory. Verify the directory path and file permissions if necessary.

"Invalid strength value"

  • Explanation: This error arises when the strength_model or strength_clip values are set outside the allowed range of -100.0 to 100.0.
  • Solution: Adjust the strength values to fall within the specified range. Double-check the input values to ensure they are within the acceptable limits.

Load LoRA (Bypass) (For debugging) Related Nodes

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

Load LoRA (Bypass) (For debugging)