🌐 Remote CLIP for ComfyUI
Offload heavy CLIP models to a different machine to save VRAM.
These custom nodes allow you to run the CLIP model on one computer (The Sender) and use it wirelessly on another computer (The Loader).
⚙️ Installation
Run this command in your ComfyUI/custom_nodes folder on both computers:
git clone https://github.com/nyueki/ComfyUI-RemoteCLIPLoader.git
Restart ComfyUI on both machines.
🚀 How to Use
1️⃣ On the "Sender" Machine
(The PC holding the CLIP model)
- Add the Send Remote CLIP node.
- Connect your desired CLIP model to it.
- Set the
listen_port(default8181). - Queue the workflow to start listening.
2️⃣ On the "Loader" Machine
(The PC generating images)
- Add the Load Remote CLIP node.
- Enter the IP address of the Sender machine.
- Match the
portnumber (default8181). - Connect it to your workflow wherever a normal CLIP node is expected.
🎨 How to use LoRAs
Because the Loader machine does not have the actual CLIP model loaded (it only has a "remote connection"), you cannot use a standard LoRA Loader on that machine to patch the CLIP. You have two options:
Option A: Apply LoRA to CLIP (On the Sender)
If you need the LoRA to affect the text encoding (CLIP), you must load it on the Sender machine before transmitting the connection.
- On the Sender machine, place the LoraLoaderCLIPOnly node between your Checkpoint/CLIP Loader and the Send Remote CLIP node.
- Select your LoRA.
- Connect the output to the Send Remote CLIP node.
Option B: Apply LoRA to Model Only (On the Loader)
If you only need the LoRA to affect the image generation (UNet/Model) and not the text prompt, do this on the Loader machine.
- Use the standard LoraLoaderModelOnly node (built into ComfyUI).
- Connect it to your Model/UNet on the Loader machine.
🛡️ Important Notes
- Firewall: Ensure the port (default 8181) is allowed through the firewall on the Sender machine.
- Network: Works best on a local home network (LAN).
- Security: Do not use this over the public internet; it is not encrypted.
Node Category: Remote CLIP