summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-01-29 13:29:46 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2024-01-30 16:20:25 +0200
commit549a1e6cd5b39fe0dc3d4ea5515c65f17797a31e (patch)
tree7cae366c9a5a5d5663d469e4877da8efb4a32089
parent5f14ee0b0cd06f1c4790e6123df4b38ace637e88 (diff)
ci : fix yolo URLs + fix metal capture (ggml/712)
-rw-r--r--ggml-metal.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/ggml-metal.m b/ggml-metal.m
index 7e148b6b..f8785955 100644
--- a/ggml-metal.m
+++ b/ggml-metal.m
@@ -356,6 +356,8 @@ static struct ggml_metal_context * ggml_metal_init(int n_cb) {
GGML_METAL_LOG_INFO("%s: simdgroup matrix mul. support = %s\n", __func__, ctx->support_simdgroup_mm ? "true" : "false");
GGML_METAL_LOG_INFO("%s: hasUnifiedMemory = %s\n", __func__, ctx->device.hasUnifiedMemory ? "true" : "false");
+ ctx->should_capture_next_compute = false;
+
#if TARGET_OS_OSX || (TARGET_OS_IOS && __clang_major__ >= 15)
if (@available(macOS 10.12, iOS 16.0, *)) {
GGML_METAL_LOG_INFO("%s: recommendedMaxWorkingSetSize = %8.2f MB\n", __func__, ctx->device.recommendedMaxWorkingSetSize / 1e6);