LLM inference in C/C++
C++ ggml
ci: fix pre-built binaries no longer working on macOS 15 and below (#26375)
Niklas Wenzel6b5224cfccdb
diff --git a/.github/workflows/build-apple.yml b/.github/workflows/build-apple.ymlindex 2b3d14d1f3..75add99934 100644--- a/.github/workflows/build-apple.yml+++ b/.github/workflows/build-apple.yml@@ -63,7 +63,8 @@ jobs:-DGGML_METAL_USE_BF16=ON \-DGGML_METAL_EMBED_LIBRARY=OFF \-DGGML_METAL_SHADER_DEBUG=ON \- -DGGML_RPC=ON+ -DGGML_RPC=ON \+ -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)leaks -atExit -- ./build/bin/test-thread-safety -hf ggml-org/gemma-3-270m-qat-GGUF -ngl 99 -p "$(printf 'hello %.0s' {1..128})" -n 16 -c 512 -ub 32 -np 2 -t 2 -lv 1diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 3460485af3..7a69caaefd 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -93,13 +93,13 @@ jobs:- build: 'arm64'arch: 'arm64'os: macos-26- defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON"+ defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3"# TODO: this build is disabled to save Github Actions resources (https://github.com/ggml-org/llama.cpp/pull/23780)# in order to enable it again, we have to provision dedicated runners to run it#- build: 'arm64-kleidiai'# arch: 'arm64'# os: macos-14- # defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DGGML_CPU_KLEIDIAI=ON"+ # defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3 -DGGML_CPU_KLEIDIAI=ON"- build: 'x64'arch: 'x64'os: macos-15-intel