ComfyUI-IDM-VTON icon indicating copy to clipboard operation
ComfyUI-IDM-VTON copied to clipboard

Allocation on device 0 would exceed allowed memory. (out of memory)

Open mehbayat opened this issue 1 year ago • 3 comments

Error occurred when executing IDM-VTON:

Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 18.33 GiB Requested : 3.43 GiB Device limit : 22.02 GiB Free (according to CUDA): 31.62 MiB PyTorch limit (set by user-supplied memory fraction) : 17179869184.00 GiB

mehbayat avatar May 11 '24 10:05 mehbayat

Hi, try loading in half precision (fp16 or bfp16)

TemryL avatar May 11 '24 13:05 TemryL

On the pipeline node? This is what I assume you meant, so I updated it, and now I get this error - "When loading the graph, the following node types were not found: IDM-VTON PipelineLoader Nodes that have failed to load will show as red on the graph.". It is installed on Manager, but now I get this.

mehbayat avatar May 11 '24 14:05 mehbayat

Almost same issue

Error occurred when executing PipelineLoader:

Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 24.78 GiB Requested : 5.00 MiB Device limit : 44.56 GiB Free (according to CUDA): 13.00 MiB PyTorch limit (set by user-supplied memory fraction) : 17179869184.00 GiB

Previous release worked well instead

Maik-96 avatar May 22 '24 12:05 Maik-96