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

Hard coded timeout causing Whisper ad-on to fail when downloading large models #22

Open
oleander opened this issue Feb 6, 2024 · 1 comment

Comments

@oleander
Copy link

oleander commented Feb 6, 2024

On my internet connection I can download all models, except the 900mb+ called "small". Please make the timeout configurable from the home assistant Whisper configuration panel and display a descriptive timeout error to allow the end user to adjust it.

I would have submitted a PR myself but I'm currently on vacation without access to a laptop ツ

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
[23:30:43] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
[23:30:54] INFO: Service exited with code 256 (by signal 9)
[23:31:18] INFO: Service exited with code 256 (by signal 9)
[23:31:19] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
[23:31:29] INFO: Service exited with code 256 (by signal 9)
[23:31:30] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
[23:31:41] INFO: Service exited with code 256 (by signal 9)
[23:31:42] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
[23:31:52] INFO: Service exited with code 256 (by signal 9)
[23:31:53] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
[23:32:04] INFO: Service exited with code 256 (by signal 9)
[23:32:05] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.

@synesthesiam
Copy link
Contributor

Please try again with version 2.0.0: https://github.com/rhasspy/wyoming?tab=readme-ov-file#speech-to-text
This uses the built-in downloader in faster-whisper

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