Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlling model unload for TTS #327

Open
mateuszdrab opened this issue Feb 13, 2025 · 1 comment
Open

Controlling model unload for TTS #327

mateuszdrab opened this issue Feb 13, 2025 · 1 comment

Comments

@mateuszdrab
Copy link

Is there a way to control model lifetime for TTS, for whisper WHISPER__TTL works, but I can't find a variable for TTS.
I'd like to preload a model and leave it running.

@fedirz
Copy link
Collaborator

fedirz commented Feb 19, 2025

For now, the WHISPER__TTL controls the TTL for Piper and Kokoro models as well. I plan on adding a separate configuration option in the future for TTS models. I'm still debating on whether this should be configured per task (i.e., you set TTL for TTS and STT) or per model (you'd set TTL for Kokoro, Piper, and Whisper separately)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants