"Not enough memory resources are available to complete this operation" #1
Replies: 7 comments 15 replies
-
Are you running with a too many batch size or too large image? I find that on my RX 6900 XT 16GB i can run up to a batch size of 3 512x512 images or a single image size of 704x704. 768x512 is ok but slow. Try closing the UI prrogram and restarting it. |
Beta Was this translation helpful? Give feedback.
-
Having similar problem with vram. 12GB 5700XT, Batch size 1 and Iteration 1 seems to already be at the limit with 512x+ resolution. Also, it appears that I have to restart onnxUI.py every few runs because the VRAM would fill to max and never be cleared when idle. Eventually VRAM will be full enough to not allow to start unless exiting onnxUI.py which clears VRAM. |
Beta Was this translation helpful? Give feedback.
-
I had this problem too. I have a laptop with hybrid GPUs. I changed the Graphics Settings to solve this problem. |
Beta Was this translation helpful? Give feedback.
-
Same problem with my AMD Radeon RX 6600 and 8GB of RAM, in both 384x384 and 512x512. Batch size was 1 in both attempts. |
Beta Was this translation helpful? Give feedback.
-
I run into this issue when trying to do two generations one after the other. It appears, looking at memory utilization, that the UI isn't releasing the memory from the previous batch. Is there a setting or something I need to enable to force a garbage collect after generation finishes? 6700XT |
Beta Was this translation helpful? Give feedback.
-
I've updated the UI to enable de-allocating the model and releasing the memory after each generation. The downside is that you need to reload the model at the start every time. Run the UI with the flag |
Beta Was this translation helpful? Give feedback.
-
I've had a similar issue and I believe the problem is the addition of the scheduler. If you could add an option to the GUI where no scheduler is selected, I believe this may solve the problem. |
Beta Was this translation helpful? Give feedback.
-
Hey, I'm running a Radeon RX 5700 with 16GB and I'm getting a not enough memory resources are available to complete this operation. Any ideas? I've had the CMD version of SD running and had it work.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions