ComfyUI > Nodes > Realtime LoRA Trainer > Selective LoRA Loader (Z-Image)

ComfyUI Node: Selective LoRA Loader (Z-Image)

Class Name

ZImageSelectiveLoRALoader

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

Selective LoRA Loader (Z-Image) Description

ZImageSelectiveLoRALoader: Enables selective layer toggling in LoRA models for precise image control.

Selective LoRA Loader (Z-Image):

The ZImageSelectiveLoRALoader is a specialized node designed for managing and applying LoRA (Low-Rank Adaptation) models to Z-Image Turbo models. Its primary function is to allow you to selectively toggle individual layers of the LoRA model on or off, providing fine-grained control over which parts of the model are applied to your image processing tasks. This capability is particularly beneficial for artists and designers who wish to customize the impact of the LoRA on their images, as it enables them to focus on specific layers that contribute most to the desired effect. The node is designed to work in conjunction with the LoRA Analyzer, which helps identify the layers with the most significant impact, allowing for informed decisions when adjusting the layers. The ZImageSelectiveLoRALoader is especially useful for reducing unwanted style bleed by disabling early layers while maintaining the identity and main effects in the later layers.

Selective LoRA Loader (Z-Image) Input Parameters:

The context does not provide specific input parameters for the ZImageSelectiveLoRALoader. However, it is implied that the node allows toggling of individual layers (0-29) on or off. Each layer can be controlled to determine its contribution to the final output, with early layers typically having a lower impact and later layers having a higher impact.

Selective LoRA Loader (Z-Image) Output Parameters:

model

The model output provides the modified Z-Image Turbo model with the selected LoRA layers applied. This output is crucial as it represents the final model configuration that will be used for image processing, incorporating the specific layers you have chosen to activate.

clip

The clip output is likely related to the CLIP (Contrastive Language–Image Pretraining) model, which is often used in conjunction with image models to enhance understanding and processing. This output may provide additional context or features derived from the CLIP model that complement the Z-Image Turbo model.

info

The info output provides additional information or metadata about the applied LoRA configuration. This can include details about which layers were toggled on or off, the strength of each layer, and other relevant settings that were applied during the loading process.

Selective LoRA Loader (Z-Image) Usage Tips:

  • Use the LoRA Loader + Analyzer first to identify which layers have the most impact on your specific LoRA model. This will help you make informed decisions about which layers to toggle on or off.
  • Consider disabling early layers (0-9) if you want to reduce style bleed while maintaining the identity and main effects of the LoRA, which are typically found in the later layers (20-29).

Selective LoRA Loader (Z-Image) Common Errors and Solutions:

Layer Toggle Error

  • Explanation: This error may occur if there is an issue with toggling the layers on or off, possibly due to incorrect layer indices or configuration settings.
  • Solution: Ensure that you are using valid layer indices (0-29) and that the configuration settings are correctly applied. Double-check the layer settings in the LoRA Analyzer to confirm their impact before toggling.

Model Loading Failure

  • Explanation: This error might happen if the Z-Image Turbo model fails to load correctly, possibly due to incompatible LoRA settings or corrupted model files.
  • Solution: Verify that the LoRA settings are compatible with the Z-Image Turbo model and that the model files are not corrupted. Re-run the LoRA Analyzer to ensure the settings are optimal for the model.

Selective LoRA Loader (Z-Image) 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.