From: Georgi Gerganov Date: Thu, 11 Jan 2024 07:34:59 +0000 (+0200) Subject: metal : fix deprecation warning (ggml/690) X-Git-Tag: upstream/1.7.4~1149 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9e0cc28792f883d45f6e23b366453cc778072507;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : fix deprecation warning (ggml/690) --- diff --git a/ggml-metal.m b/ggml-metal.m index 16190682..82d68cd1 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -1067,7 +1067,7 @@ bool ggml_metal_graph_compute( GGML_ASSERT(!"unsupported op"); } - [encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst)]]; + [encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst) encoding:NSUTF8StringEncoding]]; const int64_t ne00 = src0 ? src0->ne[0] : 0; const int64_t ne01 = src0 ? src0->ne[1] : 0;