Skip to content

Commit 6b82eb7

Browse files
authored
metal : print node names for debugging (#17882)
1 parent 86a3f0f commit 6b82eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-metal/ggml-metal-ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ static int ggml_metal_op_encode_impl(ggml_metal_op_t ctx, int idx) {
221221
}
222222

223223
if (ctx->debug_graph > 0) {
224-
GGML_LOG_DEBUG("%s: node[%5d] - %-12s %s\n", __func__, idx, ggml_op_name(node->op), is_concurrent ? "(concurrent)" : "");
224+
GGML_LOG_DEBUG("%s: node[%5d] - %-12s %-12s %s\n", __func__, idx, ggml_op_name(node->op), ggml_get_name(node), is_concurrent ? "(concurrent)" : "");
225225
}
226226
if (ctx->debug_graph > 1) {
227227
GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne);

0 commit comments

Comments
 (0)