]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
metal : disable log for loaded kernels (llama/4794)
authorGeorgi Gerganov <redacted>
Sat, 13 Jan 2024 16:46:37 +0000 (18:46 +0200)
committerGeorgi Gerganov <redacted>
Sat, 13 Jan 2024 22:11:45 +0000 (00:11 +0200)
ggml-metal.m

index 6c28a7ee32d3f1942ea0155442fc157fb62c3006..57e4448278a312b7564349dbc62bf20237787662 100644 (file)
@@ -398,9 +398,6 @@ struct ggml_metal_context * ggml_metal_init(int n_cb) {
             struct ggml_metal_kernel * kernel = &ctx->kernels[e]; \
             kernel->function = [ctx->library newFunctionWithName:@"kernel_"#name]; \
             kernel->pipeline = [ctx->device newComputePipelineStateWithFunction:kernel->function error:&error]; \
-            GGML_METAL_LOG_INFO("%s: loaded %-32s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
-                    (int) kernel->pipeline.maxTotalThreadsPerThreadgroup, \
-                    (int) kernel->pipeline.threadExecutionWidth); \
             if (error) { \
                 GGML_METAL_LOG_ERROR("%s: error: load pipeline error: %s\n", __func__, [[error description] UTF8String]); \
                 return NULL; \