]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
whisper : support GGML_BACKEND_DL (whisper/2843)
authorDiego Devesa <redacted>
Thu, 27 Feb 2025 12:35:07 +0000 (13:35 +0100)
committerGeorgi Gerganov <redacted>
Mon, 3 Mar 2025 16:18:11 +0000 (18:18 +0200)
* whisper : support GGML_BACKEND_DL

* fix DTW crash

* whisper.objc : fix build - add ggml-cpp.h

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml/src/CMakeLists.txt

index 0002ac18a33789bfbbccceabf431c926b7a5f26e..fcb354e16bc2e333ed704e9b731132d03f6a3f30 100644 (file)
@@ -226,6 +226,9 @@ add_library(ggml-base
             gguf.cpp)
 
 target_include_directories(ggml-base PRIVATE .)
+if (GGML_BACKEND_DL)
+    target_compile_definitions(ggml-base PUBLIC GGML_BACKEND_DL)
+endif()
 
 add_library(ggml
             ggml-backend-reg.cpp)