Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

High cpu RAM usage when loading the IP-Adapter in Colab #9

Open
amida47 opened this issue Aug 22, 2023 · 0 comments
Open

High cpu RAM usage when loading the IP-Adapter in Colab #9

amida47 opened this issue Aug 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@amida47
Copy link

amida47 commented Aug 22, 2023

Attempted to utilize the IP-Adapter within a Colab environment running the ComfyUI interface. I'm employing the SDXL version, and everything appears to function smoothly. I'm able to successfully load the base SDXL and clip vision. However, upon attempting to load the IP-Adapter node, an immediate surge in CPU RAM usage is observed, resulting in the Colab instance shutting down automatically. Refer to the provided screenshot for a visual representation of the resource consumption pattern. Notably, the resource spikes coincide with the IP-Adapter loading attempt.
image
the GPU is a T4
Edit:
Forgot to add the colab I use, here it is https://colab.research.google.com/github/camenduru/sdxl-colab/blob/main/sdxl_v1.0_controlnet_comfyui_colab.ipynb
And I add this code to install the ComfyUI manager

%cd custom_nodes
![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager
%cd ComfyUI-Manager
!git pull

The IP-adapter is installed by the manager

@amida47 amida47 changed the title High cpu RAM usage when loading the IP-Adapter High cpu RAM usage when loading the IP-Adapter in Colab Aug 22, 2023
@laksjdjf laksjdjf added the bug Something isn't working label Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants