ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Load ClipVision on CPU

Open FNSpd opened this issue 1 year ago • 1 comments

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

FNSpd avatar Jun 24 '24 09:06 FNSpd

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

mcmonkey4eva avatar Jun 28 '24 23:06 mcmonkey4eva