whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Usage of deprecated OpenVINO packages under Python 3.12 prevents using OpenVINO models

Open scudo005 opened this issue 1 year ago • 2 comments

If I try to install the required packages in order to use OpenVINO, the build fails. I opened an issue on the OpenVino repository (here), and I got told that the package openvino-dev, which is present in requirements-openvino.txt. From my own observations, said package seems to be available only on Python 3.11 and not 3.12.

scudo005 avatar May 28 '24 14:05 scudo005

yes, currently there appears to be no way to convert models to openvino due to python 3.12 @DocSwitch did you ever figure out how to use openvinos ovc to accomplish this?

For the meantime: In a related PR, I found a repo with pre-converted models.

recallmenot avatar Jun 24 '24 13:06 recallmenot

yes, currently there appears to be no way to convert models to openvino due to python 3.12 @DocSwitch did you ever figure out how to use openvinos ovc to accomplish this?

In the end I didn't pursue my project any further, but I'd say that probably running Python 3.11 would make everything work.

scudo005 avatar Jul 05 '24 15:07 scudo005

I just successfully generated a .srt file with a Python 3.12 on Lubuntu 24.04, went from 272 seconds to 127 seconds (2.14 times faster) for a 189 seconds .wav music on Dell XPS 13 9310 laptop with 11th Gen Intel(R) Core(TM) i7-1185G7 with medium (not medium en) model

adrian-heouairi avatar Nov 01 '24 23:11 adrian-heouairi