Skip to content

Commit

Permalink
[WASI-NN] Add openblas support for ggml
Browse files Browse the repository at this point in the history
Signed-off-by: dm4 <[email protected]>
  • Loading branch information
dm4 authored and hydai committed Sep 21, 2023
1 parent f0d1e67 commit 11d45ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/wasi_nn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ wasmedge_add_library(wasmedgePluginWasiNN
target_compile_options(wasmedgePluginWasiNN
PUBLIC
-DWASMEDGE_PLUGIN
-DGGML_USE_K_QUANTS
)

target_include_directories(wasmedgePluginWasiNN
Expand Down
2 changes: 2 additions & 0 deletions thirdparty/ggml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ target_compile_options(utilGgml
-Wno-unused-but-set-variable
-Wno-unused-function
-Wno-missing-braces
-DGGML_USE_K_QUANTS
-DGGML_USE_OPENBLAS
)

if(WIN32)
Expand Down

0 comments on commit 11d45ab

Please sign in to comment.