Skip to content
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

Error trying to build whisper.cpp with openvino support. #1690

Closed
Abdalnablse10 opened this issue Dec 27, 2023 · 1 comment · Fixed by #1694
Closed

Error trying to build whisper.cpp with openvino support. #1690

Abdalnablse10 opened this issue Dec 27, 2023 · 1 comment · Fixed by #1694
Labels
bug Something isn't working

Comments

@Abdalnablse10
Copy link

Abdalnablse10 commented Dec 27, 2023

cmake --build build -j --config Release
[  4%] Building CXX object CMakeFiles/whisper.openvino.dir/openvino/whisper-openvino-encoder.cpp.o                      /home/abdalnablse10/whisper.cpp/openvino/whisper-openvino-encoder.cpp: In function ‘int whisper_openvino_encode(whisper_openvino_context*, ggml_tensor*, ggml_tensor*)’:                                                                        /home/abdalnablse10/whisper.cpp/openvino/whisper-openvino-encoder.cpp:67:14: error: ‘struct ggml_tensor’ has no member named ‘n_dims’                                                                                                              67 |     if (mel->n_dims != 2) {
      |              ^~~~~~                                                                                             /home/abdalnablse10/whisper.cpp/openvino/whisper-openvino-encoder.cpp:69:28: error: ‘struct ggml_tensor’ has no member named ‘n_dims’                                                                                                              69 |             __func__, mel->n_dims);
      |                            ^~~~~~
/home/abdalnablse10/whisper.cpp/openvino/whisper-openvino-encoder.cpp:73:14: error: ‘struct ggml_tensor’ has no member named ‘n_dims’                                                                                                              73 |     if (out->n_dims != 2) {                                                                                           |              ^~~~~~
/home/abdalnablse10/whisper.cpp/openvino/whisper-openvino-encoder.cpp:75:28: error: ‘struct ggml_tensor’ has no member named ‘n_dims’                                                                                                              75 |             __func__, out->n_dims);                                                                                   |                            ^~~~~~                                                                               gmake[2]: *** [CMakeFiles/whisper.openvino.dir/build.make:76: CMakeFiles/whisper.openvino.dir/openvino/whisper-openvino-encoder.cpp.o] Error 1                                                                                                  gmake[1]: *** [CMakeFiles/Makefile2:350: CMakeFiles/whisper.openvino.dir/all] Error 2                                   gmake: *** [Makefile:146: all] Error 2
@bobqianic
Copy link
Collaborator

See if #1694 fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants