Package Details: whisper.cpp-vulkan 1.7.5-4

Git Clone URL: https://aur.archlinux.org/whisper.cpp-vulkan.git (read-only, click to copy)
Package Base: whisper.cpp-vulkan
Description: Port of OpenAI's Whisper model in C/C++ (with Vulkan optimizations)
Upstream URL: https://github.com/ggerganov/whisper.cpp
Licenses: MIT
Conflicts: whisper.cpp
Provides: whisper.cpp
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 9
Popularity: 1.68
First Submitted: 2024-12-11 23:09 (UTC)
Last Updated: 2025-04-12 15:59 (UTC)

Dependencies (4)

Required by (3)

Sources (1)

Latest Comments

homocomputeris commented on 2025-06-16 00:01 (UTC)

It doesn't build:

[ 17%] Built target main
/home/user/.cache/paru/clone/whisper.cpp-vulkan/src/whisper.cpp-1.7.5/src/whisper.cpp: In function ‘bool whisper_sched_graph_init(whisper_sched&, std::vector<ggml_backend*>, std::function<ggml_cgraph*()>&&)’:
/home/user/.cache/paru/clone/whisper.cpp-vulkan/src/whisper.cpp-1.7.5/src/whisper.cpp:602:35: error: too few arguments to function ‘ggml_backend_sched* ggml_backend_sched_new(ggml_backend**, ggml_backend_buffer_type**, int, size_t, bool, bool)’
  602 |     sched = ggml_backend_sched_new(backends.data(), nullptr, backends.size(), WHISPER_MAX_NODES, false);
      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ggml-cpu.h:4,
                 from /home/user/.cache/paru/clone/whisper.cpp-vulkan/src/whisper.cpp-1.7.5/src/../include/whisper.h:5,
                 from /home/user/.cache/paru/clone/whisper.cpp-vulkan/src/whisper.cpp-1.7.5/src/whisper.cpp:1:
/usr/include/ggml-backend.h:292:35: note: declared here
  292 |     GGML_API ggml_backend_sched_t ggml_backend_sched_new(ggml_backend_t * backends, ggml_backend_buffer_type_t * bufts, int n_backends, size_t graph_size, bool parallel, bool op_offload);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
[ 19%] Linking CXX static library libcommon-sdl.a
[ 19%] Built target common-sdl
make[2]: *** [src/CMakeFiles/whisper.dir/build.make:79: src/CMakeFiles/whisper.dir/whisper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1359: src/CMakeFiles/whisper.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'whisper.cpp-vulkan-1.7.5-4':
error: packages failed to build: whisper.cpp-vulkan-1.7.5-4

alienos commented on 2025-05-12 10:24 (UTC)

. Are you building it ? It works for me only when I do -DWHISPER_SDL2=OFF .Sdl compat installed correctly.

ioctl commented on 2025-04-14 09:42 (UTC)

Package conflicts with the llama.cpp-vulkan. The llama.cpp-vulkan install error:


llama.cpp-vulkan: /usr/bin/vulkan-shaders-gen exists in filesystem (owned by whisper.cpp-vulkan)
llama.cpp-vulkan: /usr/lib/libggml-base.so exists in filesystem (owned by whisper.cpp-vulkan)
llama.cpp-vulkan: /usr/lib/libggml-cpu.so exists in filesystem (owned by whisper.cpp-vulkan)
llama.cpp-vulkan: /usr/lib/libggml-vulkan.so exists in filesystem (owned by whisper.cpp-vulkan)
llama.cpp-vulkan: /usr/lib/libggml.so exists in filesystem (owned by whisper.cpp-vulkan)


Marzal commented on 2024-12-16 19:59 (UTC) (edited on 2024-12-16 20:01 (UTC) by Marzal)

Hi, thanks for splitting the packages. vulkan-headers and shaderc are needed to build on a clean chroot: makedepends=( 'vulkan-headers' 'shaderc' 'cmake' 'git' )

And openmp seems like it's not necessary as dependency: whisper.cpp-vulkan W: Dependency included, but may not be needed ('openmp')

I've been building my own version without it for a long time, and the log says that openmp it's found without this package

-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- OpenMP found

Again thanks fo taking care of this package