[X] The issue exists after disabling all extensions
[X] The issue exists on a clean installation of webui
[ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
[X] The issue exists in the current version of the webui
[X] The issue has not been reported before recently
[ ] The issue has been reported before but has not been fixed yet
What happened?
Doing a batch img2img on a large (512) number of files, python grows to over 200GB of memory used.
Steps to reproduce the problem
On a Mac, loaded SDXL 1.0 base, set up batch for 18 steps upscaling 512 to 1024, refiner model at 90%. Settings are set to cache up to 2 models. Over time, memory use grows.
What should have happened?
Memory use should not grow as models are re-used. Memory use should have hovered around 50GB.
Checklist
What happened?
Doing a batch img2img on a large (512) number of files, python grows to over 200GB of memory used.
Steps to reproduce the problem
On a Mac, loaded SDXL 1.0 base, set up batch for 18 steps upscaling 512 to 1024, refiner model at 90%. Settings are set to cache up to 2 models. Over time, memory use grows.
What should have happened?
Memory use should not grow as models are re-used. Memory use should have hovered around 50GB.
What browsers do you use to access the UI ?
Apple Safari
Sysinfo
sysinfo-2023-12-28-07-38.json
Console logs
Additional information
No response