Closed NextDoorLaoHuang-HF closed 3 days ago
Hi @NextDoorLaoHuang-HF,
*turbo*
optimizations.Thank you very much for your prompt response. After switching to the non-turbo model, it indeed functions smoothly, and the experience is excellent.
Glad to hear! Please let us know if you run into any other issue.
Environment:
Issue Description:
I compiled whisperkit-cli using the whisperkittools pipeline. Subsequently, I noticed that each time the pipeline is started, it involves recompiling whisperkit-cli, downloading (or checking for updates of) the model, and each transcription takes an extremely long time, measured in hours (I tried transcribing an audio file of several tens of seconds). The transcription process of this pipeline is basically to start whisperkit-cli through the command line. To avoid recompilation and model downloading at each startup, I tried to start whisperkit-cli using Python's subprocess module and specifying the model directory. However, after multiple startups, I found that this method still results in startup times measured in hours, and I observed that ANECompilerService starts up every time and does not close immediately after transcription (Is it converting the model?).
Below is the startup code I used:
Timing Information Output: