Why is there an error when using memory overflow, have you guys encountered the same problem
ctao233 opened this issue · 4 comments
Error occurred when executing GroundingDinoSAMSegment (segment anything):
Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 10.88 GiB
Requested : 768.00 MiB
Device limit : 11.73 GiB
Free (according to CUDA): 18.25 MiB
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB
i have same error
i have same error too
I am having the same problem where my vram is consumed by this especially when i use multiple of the elements. There is a PR in already but it hasnt been merged: #58 . If this is a critical issue for you or your workflow, I have changed the name of my colder inside of comfyui and installed this as you would any other extension. Ymmv when installing from a forked repo so please verify the code before you do this. @JeryZeng is awesome for fixing this: https://github.com/JeryZeng/comfyui_segment_anything