-
Notifications
You must be signed in to change notification settings - Fork 835
Description
Describe the bug
Every generation reserves system RAM, then does not release it after finishing generation. With 32GB RAM it fills up and hard locks the PC by the 3rd or 4th gen attempt. Tested with 0.6B and 1.7B LM model. First gen increases system RAM usage from 1.5GB to 13.3GB, 2nd generation jumps to 16.5 to 21.4GB usage, 3rd generation jumps to 30 to 32GB+.
Almost every time after 2nd gen the default GUI in the browser keeps the prior gens in the results section instead of adding the new gens.
Expected behavior
Code should clear/free RAM at least partially and reuse the RAM loaded processes instead of starting new ones every generation.
OS and hardware
Linux Mint 22.3, Ryzen 9600X, 32GB DDR5-6000, 16GB RTX5060Ti
context
closing and restarting it, initialize service, and refresh page sometimes allows up to 4th gen but it is rare. Close and restart and refresh GUI in browser clears settings and lyrics entered, and language chosen.