Hi, I am trying to create a flow to bulk process image files in a directory both to improve them, and maybe also to get the files ready for LoRA processing. I have a working flow using Load Image List From Directory (inspire) which will pull in all the files which works for about 20 images…however I run out of VRAM beyond that. Ideally I want to process the images (which are different sizes so I don’t want to work in batches), in groups e.g. 15 images sent through the process at a time. This balances the constraints of my GPU/VRAM whilst gaining efficiency of not loading models for every image (e.g. the model only loads once per 15 files).
I cannot however find any videos, guides or workflows that explain how to get this to work with queues, loops etc? If you have any ideas I would be very grateful as this is my first push into ComfyUI!
Thanks for your help ![]()
Jon
PS - link to my flow, I also made a few custom nodes which are also included.
Jons ComfyFlow.zip