From: Georgi Gerganov Date: Mon, 29 Jan 2024 11:29:46 +0000 (+0200) Subject: ci : fix yolo URLs + fix metal capture (ggml/712) X-Git-Tag: upstream/1.7.4~1060 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=8e391fcf3a7582a64f7adf6f95f7e87177d79e6e;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : fix yolo URLs + fix metal capture (ggml/712) --- diff --git a/ggml-metal.m b/ggml-metal.m index e5fa1402..af165401 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -353,6 +353,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);