-
Notifications
You must be signed in to change notification settings - Fork 4.2k
can't find OpenVINOConfig.cmake file #3105
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
Comments
What compiler you using? I can give you instructions for MSVC + Ubuntu Linux, MacOS I've yet to figure [Looking like you're after Linux from the .sh mention above] |
g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 |
Referring to the README.md you will note they recommend using setupvars.sh - this didn't work for me either... Quick answer - you're just missing one switch
(You may also need sudo apt-get install libpugixml-dev libpugixml1v5 libtbb12 libtbb-dev) Long answer - to make 100% sure you do the same as I did - the idiot instructions(for other people of course)To be sure you've got exactly what I have I used the 2023.0.0 link (their release page is way too long to find anything) Now extract the downloaded archive somewhere sensible and you can use it. Personally I put it in ~/build_libs and renamed the directory to openvino
Finally add the following to your cmake -B build line...
Lastly the library ~/build_libs/openvino/runtime/lib/intel64/libopenvino.so.2300 is linked to libwhisper.so
These non-standard dependencies may cause an issue if you're passing a release build around (did for me - missing on spare Linux box) See below for full library list... For Windows there are a few small changesYou want to follow the Windows link when you get to the archives and download the windows zip - this one
There's a final gotcha for WindowsThere are some dlls you need - if you followed instructions there'll be in C:\build_libs\openvino\runtime\bin\intel64. You'll definitely need openvino.dll and tbb12.dll - the others MAY be optional. Copy these to your build\bin dirctories Libraries in OpenVino (Linux version)
From experimentation it appears that only libopenvino.so.2300 is required (there are further dependencies however) |
Glad I answered this one - got my junky spare Linux box working with the optional libraries Although CUDA is selected that machine has the GPU disabled - it's very old (c 2014) and the GPU makes the laptop power off after a few seconds (prob just needs re-pasting, I'll have to get it done sometime - really junky GPU though - 845m, but it should work) Sadly the Vulkan driver for the intergated graphics actually makes the benchmark both faster and slower (only by a bit though). Faster Decode/Batch (they're both decodes), Slower Prompt God knows where the CUDA Sysinfo came from - if the GPU were active it'd be Cuda Arch 500 (and a different lib) *** My other laptop's a |
it worked thanks |
i am getting this error
after the command
cmake ../whisper.cpp/ -DWHISPER_OPENVINO=ON
and yes I did usesource setupvars.sh
and it did say[setupvars.sh] OpenVINO environment initialized
using whisper.cpp v1.7.5
cmake version 3.28.3
The text was updated successfully, but these errors were encountered: