Coming from HA’s side, I saw that a Wyoming Whisper docker image was recently released. The image is available on docker hub but I couldn’t find the associated GitHub repo. Are you planning on releasing it? I would like to take a look at the code and potentially suggest improvements if I could (GPU support for example).
After some research it seems like everything is available here: addons/whisper at master · home-assistant/addons · GitHub. IMO it would be useful to add a link to the GitHub on the docker hub page, since it’s designed to run as a standalone instance as well.
first thanks a lot for providing this guide - I’m also trying to run Whisper with CUDA support.
But after following your guide carefully, I get following error message from Whisper in the logs:
whisper | Traceback (most recent call last):
whisper | File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
whisper | return _run_code(code, main_globals, None,
whisper | File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
whisper | exec(code, run_globals)
whisper | File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 136, in <module>
whisper | asyncio.run(main())
whisper | File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
whisper | return loop.run_until_complete(main)
whisper | File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
whisper | return future.result()
whisper | File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 112, in main
whisper | whisper_model = WhisperModel(
whisper | File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/transcribe.py", line 58, in __init__
whisper | self.model = ctranslate2.models.Whisper(
whisper | ValueError: This CTranslate2 package was not compiled with CUDA support
whisper exited with code 0
Something I’m doing wrong here?
Best regards and thanks for any tip on this
Andreas
Just thinking outload: would we be able to take it in HA portainer and use it as well as alternative to official adf-on?
Or even better planning to do directly a HA add-on ?