From dba497e0c1eff27cf0e85d1d73c86fa08e1b5557 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 25 Apr 2024 21:31:17 +0300 Subject: cmake : restore LLAMA_LLAMAFILE_DEFAULT --- llama.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llama.cpp') diff --git a/llama.cpp b/llama.cpp index 0c01a353..d728bd49 100644 --- a/llama.cpp +++ b/llama.cpp @@ -17653,6 +17653,11 @@ const char * llama_print_system_info(void) { s += "SSSE3 = " + std::to_string(ggml_cpu_has_ssse3()) + " | "; s += "VSX = " + std::to_string(ggml_cpu_has_vsx()) + " | "; s += "MATMUL_INT8 = " + std::to_string(ggml_cpu_has_matmul_int8()) + " | "; +#ifdef GGML_USE_LLAMAFILE + s += "LAMMAFILE = 1 | "; +#else + s += "LAMMAFILE = 0 | "; +#endif return s.c_str(); } -- cgit v1.2.3