File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -1424,16 +1424,15 @@ jobs:
14241424 run : |
14251425 GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
14261426
1427- # TODO: install vulkan drivers
1428- # ggml-ci-mac-vulkan:
1429- # runs-on: [self-hosted, macOS, ARM64]
1430- #
1431- # steps:
1432- # - name: Clone
1433- # id: checkout
1434- # uses: actions/checkout@v4
1435- #
1436- # - name: Test
1437- # id: ggml-ci
1438- # run: |
1439- # GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
1427+ ggml-ci-mac-vulkan :
1428+ runs-on : [self-hosted, macOS, ARM64]
1429+
1430+ steps :
1431+ - name : Clone
1432+ id : checkout
1433+ uses : actions/checkout@v4
1434+
1435+ - name : Test
1436+ id : ggml-ci
1437+ run : |
1438+ GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
Original file line number Diff line number Diff line change 9292
9393if [ ! -z ${GG_BUILD_VULKAN} ]; then
9494 CMAKE_EXTRA=" ${CMAKE_EXTRA} -DGGML_VULKAN=1"
95+
96+ # if on Mac, disable METAL
97+ if [[ " $OSTYPE " == " darwin" * ]]; then
98+ CMAKE_EXTRA=" ${CMAKE_EXTRA} -DGGML_METAL=OFF -DGGML_BLAS=OFF"
99+ fi
100+
95101fi
96102
97103if [ ! -z ${GG_BUILD_WEBGPU} ]; then
You can’t perform that action at this time.
0 commit comments