Nodes/ComfyUI-1825Toolkit/πŸ”‘ 1825 - Load LoRA From Local Path
ComfyUI Node

πŸ”‘ 1825 - Load LoRA From Local Path

Load a LoRA from any absolute path on disk, outside ComfyUI's managed models/loras folder - handy for LoRAs on another drive or in a shared library. The path field is paste-tolerant: surrounding single/double quotes are stripped and mixed back/forward slashes are normalized for your OS, so pasting straight from Windows Explorer's 'Copy as path' just works. A missing file raises a clear error naming the exact path instead of silently failing. Weights are cached in RAM and only re-read when the path changes or the file is overwritten (e.g. after retraining). Files are read into memory with normal buffered I/O (no memory-mapping), so a network-share stall surfaces as a clear, catchable error instead of crashing the backend. CLIP is optional, so the node also works in UNet-only pipelines.

By SpaceCollectorsΒ·Created 2 months agoΒ·Updated 2 months agoΒ· 0
πŸ”‘ 1825 - Load LoRA From Local Path
  • model
  • clip
  • MODEL
  • CLIP
  • resolved_path
β—„lora_pathC:/path/to/your/lora.safetensorsβ–Ί
β—„strength_model1.00β–Ί
β—„strength_clip1.00β–Ί
Category1825 Toolkit/Loaders

Inputs (5)

NameTypeDefaultDescription
modelMODELDiffusion model to patch with the LoRA.
lora_pathSTRINGC:/path/to/your/lora.safetensorsAbsolute path to the LoRA file (.safetensors/.pt/.ckpt). Paste straight from Explorer's 'Copy as path' - surrounding quotes are stripped and slashes are normalized automatically. Forward or back slashes both work. The cleaned path is shown on the 'resolved_path' output.
strength_modelFLOAT1.00-20–20How strongly the LoRA modifies the MODEL (UNet). 1.0 = full strength, 0.0 = no effect, negative inverts. If both strengths are 0.0 the file is not loaded at all.
strength_clipFLOAT1.00-20–20How strongly the LoRA modifies the CLIP text encoder. 1.0 = full strength, 0.0 = no effect, negative inverts. Ignored when no CLIP is connected.
clipoptCLIPCLIP text encoder to patch. Optional - leave it unconnected for UNet-only pipelines; the clip patch is then skipped and the CLIP output passes through as None.

Outputs (3)

NameTypeDescription
MODELMODELThe input MODEL patched with the LoRA (unchanged if both strengths are 0).
CLIPCLIPThe input CLIP patched with the LoRA (passes through unchanged, or None if no CLIP was connected).
resolved_pathSTRINGThe sanitized, OS-normalized path that was actually loaded - wire to a Show Text node to verify the quote/slash cleanup.