From 919544c0931d53bb81904b6212ff14f856549da3 Mon Sep 17 00:00:00 2001 From: historia Date: Mon, 24 Aug 2026 16:18:38 -0400 Subject: feat: option to unload models from audio.cpp per-run --- app/converter/config.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/converter/config.py') diff --git a/app/converter/config.py b/app/converter/config.py index 9f70a73..6eacb41 100644 --- a/app/converter/config.py +++ b/app/converter/config.py @@ -83,3 +83,10 @@ AUDIOCPP_CLONE_MODEL_ID = "qwen" # VoiceDesign); on other families it acts as a style/delivery instruction # when the model supports one and is ignored otherwise. Empty by default. AUDIOCPP_INSTRUCTIONS = "" + +# Ask the audio.cpp server to unload all currently loaded models before +# converting, so models left resident by earlier runs free their memory +# (e.g. VRAM on GPU backends) and only the selected entry loads. Set to +# False to keep other models resident across runs (the TUI Settings menu +# exposes this as "Unload models", default Yes). +AUDIOCPP_UNLOAD_MODELS = True -- cgit v1.2.3