GiusTex / ComfyUI-DiffusersImageOutpaint

Diffusers Image Outpaint for ComfyUI
Apache License 2.0
49 stars 4 forks source link

Modified for lowvram device 5.6gb for 1280x720. #4

Closed zmwv823 closed 1 month ago

zmwv823 commented 1 month ago

Do not merge directly, it needs test and modification, there must be bugs in it. Below is changes:

1、Split pipeline into diffrent parts, load then in turn to decrease vram usage and lower the ram usage for initial pipe.

2、Use comfy vae decode latent instead.

3、Place union controlnet config into node folder, load singlefile safetensors.

4、Raise an error when size of input image equals to target size before run padding codes, need to check where cause it---in Pad Image node---line-44 in nodes.py.

5、Add debug info, set debug=True to activate it.

image