Skip to content

Commit 58265e5

Browse files
committed
ci : disable Metal for macOS cmake build
ggml-ci
1 parent d050bbe commit 58265e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ jobs:
171171
LLAMA_NO_METAL=1 make tests -j $(sysctl -n hw.logicalcpu)
172172
LLAMA_NO_METAL=1 make test -j $(sysctl -n hw.logicalcpu)
173173
174+
# TODO: build with LLAMA_METAL=OFF because test-backend-ops fail on "Apple Paravirtual device" and I don't know
175+
# how to debug it.
176+
# ref: https://github.com/ggerganov/llama.cpp/actions/runs/7132125951/job/19422043567?pr=4359#step:5:6584
177+
# would be great if we fix these
174178
macOS-latest-cmake:
175179
runs-on: macos-latest
176180

@@ -191,7 +195,7 @@ jobs:
191195
sysctl -a
192196
mkdir build
193197
cd build
194-
cmake ..
198+
cmake -DLLAMA_METAL=OFF ..
195199
cmake --build . --config Release -j $(sysctl -n hw.logicalcpu)
196200
197201
- name: Test

0 commit comments

Comments
 (0)