Skip to content

Commit

Permalink
chore(llama.cpp): disable avx2 compiling flags
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Sep 3, 2024
1 parent e807298 commit af1881f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/llama-cpp-server/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fn main() {
config.define("LLAMA_NATIVE", "OFF");
config.define("BUILD_SHARED_LIBS", "OFF");
config.define("INS_ENB", "ON");
config.define("GGML_AVX2", "OFF")

if cfg!(target_os = "macos") {
config.define("LLAMA_METAL", "ON");
Expand Down

0 comments on commit af1881f

Please sign in to comment.