Skip to content

Commit e5a43fc

Browse files
ggerganovhodlen
authored andcommitted
metal : disable log for loaded kernels (ggml-org#4794)
1 parent 08a218e commit e5a43fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ggml-metal.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ static void ggml_metal_log(enum ggml_log_level level, const char * format, ...){
398398
struct ggml_metal_kernel * kernel = &ctx->kernels[e]; \
399399
kernel->function = [ctx->library newFunctionWithName:@"kernel_"#name]; \
400400
kernel->pipeline = [ctx->device newComputePipelineStateWithFunction:kernel->function error:&error]; \
401-
GGML_METAL_LOG_INFO("%s: loaded %-32s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
402-
(int) kernel->pipeline.maxTotalThreadsPerThreadgroup, \
403-
(int) kernel->pipeline.threadExecutionWidth); \
404401
if (error) { \
405402
GGML_METAL_LOG_ERROR("%s: error: load pipeline error: %s\n", __func__, [[error description] UTF8String]); \
406403
return NULL; \

0 commit comments

Comments
 (0)