mlx-audio
mlx-audio copied to clipboard
Voices not unloaded dynamically with `mlx_audio.server`
Hi,
Using mlx_audio.server, I noticed while trying out different voices that they weren't unloaded as the new one was being loaded:
This can lead to heavy RAM usage as all voices stay in memory until the server is stopped. Optimally a new voice should unload the last voice before loading.