Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node creates a hook model as a LoRA (Low-Rank Adaptation) by loading checkpoint weights and applying strength adjustments to both the model and CLIP components. It allows you to apply LoRA-style modifications to existing models through a hook-based approach, enabling fine-tuning and adaptation without permanent model changes. The node can combine with previous hooks and caches loaded weights for efficiency.

Inputs

ParameterData TypeRequiredRangeDescription
ckpt_nameSTRINGYesMultiple options availableThe checkpoint file to load weights from (select from available checkpoints)
strength_modelFLOATYes-20.0 to 20.0The strength multiplier applied to the model weights (default: 1.0)
strength_clipFLOATYes-20.0 to 20.0The strength multiplier applied to the CLIP weights (default: 1.0)
prev_hooksHOOKSNo-Optional previous hooks to combine with the newly created LoRA hooks
Parameter Constraints:
  • The ckpt_name parameter loads checkpoints from the available checkpoints folder
  • Both strength parameters accept values from -20.0 to 20.0 with 0.01 step increments
  • When prev_hooks is not provided, the node creates a new hook group
  • The node caches loaded weights to avoid reloading the same checkpoint multiple times

Outputs

Output NameData TypeDescription
HOOKSHOOKSThe created LoRA hooks, combined with any previous hooks if provided

Source fingerprint (SHA-256): 8c0dd6b2e8e99e1d7dbc864aa802c0713842fb0d4ee018ea5cbedfb7896a770d