Extensions/ComfyUI-1825Toolkit
ComfyUI Extension

ComfyUI-1825Toolkit

A suite of robust ComfyUI custom nodes. Includes LocalPathLoraLoader: load a LoRA from any absolute path on disk.

By SpaceCollectors·Created 2 months ago·Updated 2 months ago· 0
SpaceCollectors/ComfyUI-1825Toolkit
Nodes1
On cloudLocal install
Category1825 Toolkit/Loaders
Stars0
Updated2 months ago
Readme

1825Toolkit

A personal suite of robust ComfyUI custom nodes.

This is the first release in an ongoing series of add-ons. It currently ships a single, carefully-built node and will grow over time.


Nodes

🔑 1825 - Load LoRA From Local Path (LocalPathLoraLoader)

Category: 1825 Toolkit/Loaders

Load and apply a LoRA from any absolute path on disk — not just from ComfyUI's managed models/loras folder. Ideal when your LoRAs live on another drive or in a shared library outside the ComfyUI tree.

Why use it instead of the stock LoRA loader

  • Paste-tolerant paths — paste straight from Windows Explorer's "Copy as path". Surrounding single/double quotes are stripped and mixed back/forward slashes are normalized for your OS (os.path.normpath). Forward or back slashes both work.
  • Clear errors, no silent failures — a missing or mistyped path raises a descriptive FileNotFoundError naming both the raw string you pasted and the resolved path, instead of crashing the backend loop silently.
  • RAM caching — weights are cached on (path, mtime, size) and only re-read when the path changes or the file is overwritten (e.g. after retraining), mirroring the native ComfyUI loader.
  • Network-resilient reads — the file is read into memory with normal buffered I/O (never memory-mapped) and reports transfer size/speed. If a network share stalls mid-read, you get a clear Python error stating how far it got — instead of an uncatchable OS page-fault that hard-crashes ComfyUI.
  • Optional CLIP — leave the clip input unconnected for UNet-only pipelines; the CLIP patch is simply skipped.
  • Resolved-path output — wire it to a Show Text node to verify exactly what the sanitizer produced.

Inputs

| Input | Type | Default | Description | |------------------|--------|--------------------------------------|--------------------------------------------------------------------------| | model | MODEL | — | Diffusion model to patch. | | clip | CLIP | (optional) | Text encoder to patch. Omit for UNet-only flows. | | lora_path | STRING | C:/path/to/your/lora.safetensors | Absolute path to the LoRA file. Quotes/slashes are cleaned automatically. | | strength_model | FLOAT | 1.0 (min -20.0, max 20.0) | LoRA strength applied to the MODEL. | | strength_clip | FLOAT | 1.0 (min -20.0, max 20.0) | LoRA strength applied to the CLIP. |

Outputs

| Output | Type | Description | |-----------------|--------|------------------------------------------------------------------| | MODEL | MODEL | The model patched with the LoRA (unchanged if both strengths 0). | | CLIP | CLIP | The CLIP patched with the LoRA (or None if none was connected).| | resolved_path | STRING | The sanitized, OS-normalized path that was actually loaded. |


Installation

Via ComfyUI-Manager (recommended)

Search for 1825Toolkit in ComfyUI-Manager and click install.

Manual

cd ComfyUI/custom_nodes
git clone https://github.com/SpaceCollectors/ComfyUI-1825Toolkit.git

Restart ComfyUI. The node appears under 1825 Toolkit/Loaders.

There are no extra Python dependencies — ComfyUI already provides everything the node needs.


License

MIT © 1825 Research Studio