Skip to content

Commit 0e61ee9

Browse files
committed
fix: respect GGML_METAL=OFF on macOS
Assisted-by: OpenAI Codex Signed-off-by: Haozhe Jiang <162801044+provoke210@users.noreply.github.com>
1 parent d736646 commit 0e61ee9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- fix: respect GGML_METAL=OFF on macOS by @provoke210 in #2370
1011
- feat: update llama.cpp to ggml-org/llama.cpp@v0.4.0
1112

1213
## [0.3.35]

‎CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ if (LLAMA_BUILD)
125125
set(GGML_F16C "OFF" CACHE BOOL "ggml: enable F16C" FORCE)
126126
endif()
127127

128-
# Metal settings (enable for both architectures)
129-
set(GGML_METAL "ON" CACHE BOOL "ggml: enable Metal" FORCE)
128+
# Enable Metal by default for both architectures, respecting user settings.
129+
set(GGML_METAL "ON" CACHE BOOL "ggml: enable Metal")
130130
set(GGML_METAL_EMBED_LIBRARY "ON" CACHE BOOL "ggml: embed metal library" FORCE)
131131
endif()
132132

0 commit comments

Comments
 (0)