This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe 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_modelandstrength_clipare 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