]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
metal : fix deprecation warning (ggml/690)
authorGeorgi Gerganov <redacted>
Thu, 11 Jan 2024 07:34:59 +0000 (09:34 +0200)
committerGeorgi Gerganov <redacted>
Thu, 11 Jan 2024 19:50:00 +0000 (21:50 +0200)
ggml-metal.m

index 1619068244b490a87131ddf67d4a733cd766899f..82d68cd1bf1f10aa2a4510bbe9744cb5fc636a5d 100644 (file)
@@ -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;