From 18210579e48e6e59d86510ddeed4a364d73ddf15 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 22 Jan 2023 09:04:35 +0200 Subject: [PATCH] ggml : bug fix in ggml_repeat() --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 3144cb4..327a520 100644 --- a/ggml.c +++ b/ggml.c @@ -2386,7 +2386,7 @@ struct ggml_tensor * ggml_repeat( result->op = GGML_OP_REPEAT; result->grad = is_node ? ggml_dup_tensor(ctx, result) : NULL; result->src0 = a; - result->src1 = NULL; + result->src1 = b; return result; }