5329f570bfefab944781822a7c1cbd1ac25aa6d6
ComfyUI-TemporaryLoader
This is a custom node of ComfyUI that downloads and loads models from the input URL. The model is temporarily downloaded into memory and not saved to storage.
This could be useful when trying out models or when using various models on machines with limited storage. Since the model is downloaded into memory, expect higher memory usage than usual.
Installation:
- Use
git clone https://github.com/pkpkTech/ComfyUI-TemporaryLoaderin your ComfyUI custom nodes directory - Use
pip install -r requirements.txtin ComfyUI-TemporaryLoader directory
Usage
The "Load Checkpoint (Temporary)" and "Load LoRA (Temporary)" nodes will be added to the temporary_loader category.
In addition to the standard Load node, the following items are added
- ckpt_url: URL of the model
- ckpt_type: Select whether the model you want to use is safetensors or other. If the file name extension of the downloaded file is
.safetensors, it will be loaded as safetensors even if you select other. - download_split: Specify the number of splits for parallel downloading.
Languages
Python
100%