Skip to content

Commit

Permalink
whisper : support GGML_BACKEND_DL (whisper/2843)
Browse files Browse the repository at this point in the history
* whisper : support GGML_BACKEND_DL

* fix DTW crash

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

---------

Co-authored-by: Georgi Gerganov <[email protected]>
  • Loading branch information
slaren and ggerganov committed Feb 27, 2025
1 parent d3eec12 commit 358b09d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 358b09d

Please sign in to comment.