From 660836f0fff4df3889711f3206eb9a95df4b9595 Mon Sep 17 00:00:00 2001 From: xaedes Date: Sun, 7 May 2023 23:39:57 +0200 Subject: [PATCH] fix call to ggml_set_name --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index ab59771b6..af2dfc01f 100644 --- a/ggml.c +++ b/ggml.c @@ -6743,7 +6743,7 @@ struct ggml_tensor * ggml_diag_mask_zero_impl( struct ggml_tensor * result = inplace ? ggml_view_tensor(ctx, a) : ggml_dup_tensor(ctx, a); struct ggml_tensor * b = ggml_new_tensor_1d(ctx, GGML_TYPE_I32, 2); - ggml_set_name(b, "n_past", "inplace"); + ggml_set_name(b, "n_past, inplace"); ((int32_t *) b->data)[0] = n_past; ((int32_t *) b->data)[1] = inplace ? 1 : 0;