Repository navigation
ci: build arm64 macOS slice on macos-26 SDK (keep minos 14.0) - #2
Merged
Merged
Conversation
The arm64 slice was built on the macos-14 runner. On M5/A19 hardware that binary logs 'error compiling source' for the Metal library (it falls back to the standard path and still runs, but the error is alarming). Building on macos-26 (the newest Metal SDK, same runner upstream uses for arm64) compiles cleanly on M5 while the explicit deploy_target=14.0 keeps minos at 14.0, so the bundle still loads on macOS 14+. Verified on M5 Max, M3 Max, M2 Pro and the macos-14 CI runner: minos 14.0, no compile error, identical throughput.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Build the arm64 macOS slice on the
macos-26runner instead ofmacos-14, keepingdeploy_target=14.0. One line in the resolve matrix plus a comment. No second slice, no installer changes.Why
The arm64 slice is built on
macos-14. On M5/A19 hardware that binary logserror compiling sourcewhile loading the Metal library, then falls back to the standard Metal path and runs fine. It is cosmetic, but the error looks alarming on the newest Apple Silicon.Building on
macos-26(the newest Metal SDK, the same runner ggml-org uses for its arm64 release) compiles cleanly on M5. The explicit-DCMAKE_OSX_DEPLOYMENT_TARGET=14.0still pinsminos=14.0, so the bundle keeps loading on macOS 14+. The SDK and the deployment floor are decoupled, so we get the newer toolchain without raising the floor.Why not a separate macOS-26 slice
I checked whether the Metal 4 tensor API (which only turns on at deploy target 26 on M5/A19) is worth a second slice. A/B on an M5 Max, Llama-3.1-8B Q4_K_M, best of 3:
Delta is +0.1%, inside run-to-run noise. The tensor API gives no measurable gain for GGUF inference at this llama.cpp version, so a macOS-26-only slice is not worth the extra bundle and selection logic. This PR is only the SDK bump on the existing single slice.
Validation
minos 14.0confirmed viaotool -l. The macos-26-SDK / floor-14 build was run on M5 Max, M3 Max, M2 Pro and themacos-14CI runner: loads, runs with full Metal offload, noerror compiling source, throughput identical to the macos-14-SDK build.