metal : print node names for debugging (#17882)

This commit is contained in:
Georgi Gerganov 2025-12-09 15:25:49 +02:00 committed by GitHub
parent 86a3f0fad8
commit 6b82eb7883
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ static int ggml_metal_op_encode_impl(ggml_metal_op_t ctx, int idx) {
} }
if (ctx->debug_graph > 0) { if (ctx->debug_graph > 0) {
GGML_LOG_DEBUG("%s: node[%5d] - %-12s %s\n", __func__, idx, ggml_op_name(node->op), is_concurrent ? "(concurrent)" : ""); GGML_LOG_DEBUG("%s: node[%5d] - %-12s %-12s %s\n", __func__, idx, ggml_op_name(node->op), ggml_get_name(node), is_concurrent ? "(concurrent)" : "");
} }
if (ctx->debug_graph > 1) { if (ctx->debug_graph > 1) {
GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne); GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne);