We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65a823 commit e3387e4Copy full SHA for e3387e4
CMakeLists.txt
@@ -8,6 +8,8 @@ option(LLAMA_BUILD "Build llama.cpp shared library and install alongside python
8
if (LLAMA_BUILD)
9
set(BUILD_SHARED_LIBS "On")
10
if (APPLE)
11
+ # Need to disable these llama.cpp flags on Apple
12
+ # otherwise users may encounter invalid instruction errors
13
set(LLAMA_AVX "Off" CACHE BOOL "llama: enable AVX" FORCE)
14
set(LLAMA_AVX2 "Off" CACHE BOOL "llama: enable AVX2" FORCE)
15
set(LLAMA_FMA "Off" CACHE BOOL "llama: enable FMA" FORCE)
0 commit comments