Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
634 stars 87 forks source link

DefaultCPUAllocator: not enough memory: you tried to allocate 14643363840 bytes. #92

Closed bihailantian655 closed 8 months ago

bihailantian655 commented 9 months ago

DefaultCPUAllocator: not enough memory: you tried to allocate 14643363840 bytes.

enlarge a 512*900 picture 1 or 4 times bigger, need the same size of video card memory 。 a total of physical video card 8g memory + 1 g of shared memory.

After batch enlargement, combine video failure ,requires a lot of memory. get this error DefaultCPUAllocator: not enough memory: you tried to allocate 14643363840 bytes.

My video card is 8g.

588a44bee777bcd7c832c3af08a9cee7

What does resize widith mean

Suzie1 commented 9 months ago

hi, i'll look at the memory problem, thanks for reporting it resize_width can you used if you select the resize mode, the output image will be resized the the resize-width keeping the same aspect ratio. Suzie

bihailantian655 commented 9 months ago

use esrgan 4x get this error not 4k ultral sharp ,

Suzie1 commented 8 months ago

Hi, I don't have a specific fix for this. My suggestion is that you debatch the images before passing them to the upscaler using CR Debatch Frames or ImageBatchToList. Suzie

bihailantian655 commented 8 months ago

Hi, I don't have a specific fix for this. My suggestion is that you debatch the images before passing them to the upscaler using CR Debatch Frames or ImageBatchToList. Suzie

Thanks