-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: sync llama.cpp * fix: revert commit * fix: windows build
- Loading branch information
Showing
5 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt b/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
index 683b90af..e1bf104c 100644 | ||
--- a/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
+++ b/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
@@ -80,7 +80,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name) | ||
message(STATUS "ARM detected") | ||
|
||
if (MSVC AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") | ||
- message(FATAL_ERROR "MSVC is not supported for ARM, use clang") | ||
+ list(APPEND ARCH_FLAGS /arch:armv8.7) | ||
else() | ||
check_cxx_compiler_flag(-mfp16-format=ieee COMPILER_SUPPORTS_FP16_FORMAT_I3E) | ||
if (NOT "${COMPILER_SUPPORTS_FP16_FORMAT_I3E}" STREQUAL "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters