]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
metal : print node names for debugging (llama/17882)
authorGeorgi Gerganov <redacted>
Tue, 9 Dec 2025 13:25:49 +0000 (15:25 +0200)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:59 +0000 (15:32 +0200)
src/ggml-metal/ggml-metal-ops.cpp

index 9efd51abbae6dfaee3f96368a6e86e64912e6d58..392addb8d1f588cb2872d74104235214c7b307b9 100644 (file)
@@ -221,7 +221,7 @@ static int ggml_metal_op_encode_impl(ggml_metal_op_t ctx, int idx) {
         }
 
         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) {
             GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne);