Nodes Browser

ComfyDeploy: How LoRA Tag Loader for ComfyUI works in ComfyUI?

What is LoRA Tag Loader for ComfyUI?

A ComfyUI custom node to read LoRA tag(s) from text and load it into checkpoint model.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for LoRA Tag Loader for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

LoRA Tag Loader for ComfyUI

A <a href="https://github.com/comfyanonymous/ComfyUI" >ComfyUI</a> custom node to read LoRA tag(s) from text and load it into checkpoint model.

Examples:

The custom node shall extract "<lora:CroissantStyle:0.8>" from positive prompt and output a merged checkpoint model to sampler. The lora tag(s) shall be stripped from output STRING, which can be forwarded to CLIP Text Encoder.

<img src="https://github.com/badjeff/comfyui_lora_tag_loader/blob/master/workflows/workflow_sample.png" width="720">

One More Thing:

Adding an extra weight shall being passed as the equivalent of strength_clip in Lora Loader. Giving a "<lora:CroissantStyle:0.8:0.7>" shall patch the unet with 0.8 and patch the text encoder with 0.7.

[Ref: <a href="https://github.com/cloneofsimo/lora#what-happens-to-text-encoder-lora-and-unet-lora">What happens to Text Encoder LoRA and Unet LoRA?</a>]

Install:

To install, drop the "comfyui_lora_tag_loader" folder into the "...\ComfyUI\ComfyUI\custom_nodes" directory and restart UI.