ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.6k stars 153 forks source link

DetailerDebug OOM could not allocate tensor with 1207959552 bytes. #571

Open Maveyyl opened 3 months ago

Maveyyl commented 3 months ago

Hello!

I am trying to experiment with using Detailers kind of as an hires fix.

The workflow is : 1536x1536 image (an upscaled image) -> Make Tile Segs (bbox_size 512) -> DetailerDebug Segs (with the same image injected)

I can see the preview image being segmented in 16 parts, I've tried various values for guide_size and max_size, but nothing seems to diminish the memory value demanded.

I'm doing what this video: https://www.youtube.com/watch?v=bEqF4jbLCOc does but without filtering background and subject.

Is there something I do wrong?

ltdrdata commented 1 month ago

Check the terminal log; it shows the resolution at which each tile is being upscaled and processed.