ggerganov / whisper.cpp

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

Can't compile with GGML_VULKAN=1 #2478

Closed toboil-features closed 2 weeks ago

toboil-features commented 2 weeks ago
ggml/src/ggml-vulkan.cpp:29:10: fatal error: ggml-vulkan-shaders.hpp: No such file or directory
   29 | #include "ggml-vulkan-shaders.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~

make -j 4 -B GGML_VULKAN=1

The problem presents only with latest commit of whisper.cpp. Llama.cpp is fine, I can compile it easily with Vulkan support.

Also:

make: *** [Makefile:653: ggml/src/ggml-vulkan.o] Error 1
ggerganov commented 2 weeks ago

Can you test https://github.com/ggerganov/whisper.cpp/pull/2485 and see if it works?

toboil-features commented 2 weeks ago

Yes, now it compiles.