From cb58a0965494f918f399dc6ae0007486e4b9d538 Mon Sep 17 00:00:00 2001 From: Paul Zhu Date: Thu, 21 Nov 2024 10:29:06 -0800 Subject: [PATCH] GGML opti options for bark --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41738eb8..1b256898 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,6 +208,10 @@ if(BARK_BUILD) -DGGML_METAL=OFF -DBUILD_SHARED_LIBS=ON -DBARK_BUILD_EXAMPLES=OFF + -DGGML_AVX=$,$>>,OFF,ON> + -DGGML_AVX2=$,$>>,OFF,ON> + -DGGML_FMA=$,$>>,OFF,ON> + -DGGML_F16C=$,$>>,OFF,ON> BUILD_ALWAYS 1 BUILD_COMMAND ${CMAKE_COMMAND} --build . --config Release -- ${MSBUILD_ARGS} INSTALL_COMMAND ${CMAKE_COMMAND} --build . --config Release --target install