File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 73
73
- name : Install dependencies
74
74
run : |
75
75
python3 -m pip install --upgrade pip
76
- python3 -m pip install .[all] --verbose --config-settings=cmake.verbose=true --config-settings=logging.level=INFO
76
+ CMAKE_ARGS="-DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_AVX512=OFF -DLLAMA_AVX512_VBMI=OFF -DLLAMA_AVX512_VNNI=OFF -DLLAMA_FMA=OFF -DLLAMA_F16C=OFF -DLLAMA_ACCELERATE=OFF -DLLAMA_METAL=OFF" python3 -m pip install .[all] --verbose --config-settings=cmake.verbose=true --config-settings=logging.level=INFO
77
77
- name : Test with pytest
78
78
run : |
79
79
python3 -m pytest
Original file line number Diff line number Diff line change @@ -4,17 +4,6 @@ project(llama_cpp)
4
4
5
5
option (BUILD_LLAMA_CPP "Build llama.cpp shared library and install alongside python package" ON )
6
6
7
- if (APPLE )
8
- set (LLAMA_AVX OFF )
9
- set (LLAMA_AVX2 OFF )
10
- set (LLAMA_AVX512 OFF )
11
- set (LLAMA_AVX512_VBMI OFF )
12
- set (LLAMA_AVX512_VNNI OFF )
13
- set (LLAMA_FMA OFF )
14
- set (LLAMA_F16C OFF )
15
- set (LLAMA_ACCELERATE OFF )
16
- set (LLAMA_METAL OFF )
17
- endif ()
18
7
19
8
if (BUILD_LLAMA_CPP )
20
9
set (BUILD_SHARED_LIBS "On" )
You can’t perform that action at this time.
0 commit comments