Skip to main content
The Create Hook LoRA node generates hook objects for applying LoRA (Low-Rank Adaptation) modifications to models. It loads a specified LoRA file and creates hooks that can adjust model and CLIP strengths, then combines these hooks with any existing hooks passed to it. The node efficiently manages LoRA loading by caching previously loaded LoRA files to avoid redundant operations.

Inputs

Parameter Constraints:
  • If both strength_model and strength_clip are set to 0, the node will skip creating new LoRA hooks and return the existing hooks unchanged
  • The node caches the last loaded LoRA file to optimize performance when the same LoRA is used repeatedly

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 42d5d776bfc9b239191952e2bce23513d183f904fc3c15039469381a547486f8