ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
35.38k stars 3.61k forks source link

convert-whisper-to-openvino.py doesn't work for large-v3-turbo #2441

Closed BBBalls closed 1 month ago

BBBalls commented 1 month ago
(openvino_conv_env) usr@pop-os:/whisper.cpp/models$ python convert-whisper-to-openvino.py --model large-v3-turbo
Traceback (most recent call last):
  File "//whisper.cpp/models/convert-whisper-to-openvino.py", line 54, in <module>
    whisper = load_model(args.model).cpu()
  File "/whisper.cpp/models/openvino_conv_env/lib/python3.10/site-packages/whisper/__init__.py", line 139, in load_model
    raise RuntimeError(
RuntimeError: Model large-v3-turbo not found; available models = ['tiny.en', 'tiny', 'base.en', 'base', 'small.en', 'small', 'medium.en', 'medium', 'large-v1', 'large-v2', 'large-v3', 'large']

Pop!_OS 22.04 Python 3.10.12

baristikir commented 1 month ago

It looks like your local version of openai/whisper is not matching the latest version since the list now contains 'large-v3-turbo'. Updating your local whisper dependency should fix it.

BBBalls commented 1 month ago

Thank you.