OpenVoiceOS / ovos-dinkum-listener

ovos-listener based on the voice loop from mycroft-dinkum
Apache License 2.0
3 stars 3 forks source link

ovos-dinkum-listener times out before large-v2 fasterwhisper model downloads #87

Open mikejgray opened 9 months ago

mikejgray commented 9 months ago

I realize this is an edge case, but I set up local STT on my laptop running OVOS and it took more than a minute to get the model downloaded, so the listener service failed repeatedly. This would only impact users installing from the manual installation script, but it might be nice to make it configurable for folks running local STT.

builderjer commented 9 months ago

As in an option to run STT and TTS locally when it is asking the questions in the beginning? If so, download the models?

mikejgray commented 9 months ago

STT specifically, since there's already a local TTS option that comes with it

mikejgray commented 5 months ago

@builderjer This probably belongs in ovos-dinkum-listener, right? cc: @JarbasAl

JarbasAl commented 5 months ago

seems like this belong in other repo, xferring

JarbasAl commented 1 month ago

is this an issue for the images/installer? this is systemd restarting the process right, not a bug in our code other than it being slow @mikejgray @builderjer @goldyfruit

builderjer commented 1 month ago

I would not say for images, Mike was using the manual_install.sh script which works similar but not near as good as ovos-installer. If you are running an image it is set up one way without options.

But no, nothing with the code

mikejgray commented 1 month ago

is this an issue for the images/installer? this is systemd restarting the process right, not a bug in our code other than it being slow @mikejgray @builderjer @goldyfruit

It's not really an images/installer issue as this happens with faster-whisper, which doesn't come with those two things

JarbasAl commented 1 month ago

is this an issue for the images/installer? this is systemd restarting the process right, not a bug in our code other than it being slow @mikejgray @builderjer @goldyfruit

It's not really an images/installer issue as this happens with faster-whisper, which doesn't come with those two things

to rephrase, it is the systemd service created in all those circumstances that is rebooting the listener

images, installer script... if you are using the watchdog then systemd is the culprit here

builderjer commented 1 month ago

Exactly, but to me, that is not a bug. It will keep trying to restart until it can. I think there is a setting for that in the service file, but if it times out there, it will have to be manually restarted.

IMO, it should keep trying to restart until a model is loaded. Maybe a prompt that it is downloading a model and will be unresponsive for a while.

builderjer commented 1 month ago

The installer or any install script could ask if they want local stt and download the model then