TTS/STT?

#1
by MultivariatePerspective777 - opened

Have you thought of setting up tts and stt with piper and whisper? I mean it could just download them and compile them in the same namespace it runs in

Hey! Sorry for the late reply β€” great idea, and it's definitely on my radar.

Since this is aimed at Android/on-device use, compiling whisper and piper directly at runtime isn't really viable (due to Android's SELinux restrictions and lack of an on-device toolchain). Instead, the clean way to do this is to pre-compile them via NDK as native .so libs (e.g., whisper.cpp + piper / sherpa-onnx) bundled in the APK, and only download the lightweight quantized voice/STT weights on demand.

The main bottleneck right now is RAM headroom alongside the main LLM, so I'd probably need to keep STT/TTS models tiny or dynamically load/unload them between turns. If you've got any favorite lightweight Piper/Whisper configs for ARM64, feel free to share!

well, my cell has 12GB, so that should work fine if it was bundled I could make it work, which would be great... even just options in the app I could compile via termux and load from there as I make changes...

No papers at the moment, but I plan on doing some dev stuff if I can get past a few hurdles, I want this just for my own use, but I'll loop you in on cool bits if/when I make them

Thanks for all your work on this, very cool! ... I'm actually interested is seeing if I can get the 2bit to run (11GB) https://huggingface.co/SkyIsNotGreen/Scion-35B-A3B

Sign up or log in to comment