ComfyUI
ComfyUI copied to clipboard
Load ClipVision on CPU
Adds a switch to pick whether you want standard behaviour (GPU) or to load model on CPU.
Can help to run IP-Adapter on low-end systems without using shared memory, for example
The device used by ClipVision is selected here: https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/model_management.py#L570-L579 which already is set to use CPU when in low VRAM mode