whisper : support GGML_BACKEND_DL (whisper/2843)
* whisper : support GGML_BACKEND_DL * fix DTW crash * whisper.objc : fix build - add ggml-cpp.h --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
6512a90037
commit
6d4c23b81b
1 changed files with 3 additions and 0 deletions
|
@ -226,6 +226,9 @@ add_library(ggml-base
|
||||||
gguf.cpp)
|
gguf.cpp)
|
||||||
|
|
||||||
target_include_directories(ggml-base PRIVATE .)
|
target_include_directories(ggml-base PRIVATE .)
|
||||||
|
if (GGML_BACKEND_DL)
|
||||||
|
target_compile_definitions(ggml-base PUBLIC GGML_BACKEND_DL)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(ggml
|
add_library(ggml
|
||||||
ggml-backend-reg.cpp)
|
ggml-backend-reg.cpp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue