]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml : fix bug in ggml_compute_forward_dup_f32()
authorGeorgi Gerganov <redacted>
Thu, 20 Apr 2023 18:58:05 +0000 (21:58 +0300)
committerGeorgi Gerganov <redacted>
Thu, 20 Apr 2023 18:58:38 +0000 (21:58 +0300)
ggml.c

diff --git a/ggml.c b/ggml.c
index da0f5d1d549ab4f63bb057ca593e2cd09cced62d..8109b36b2443264ad3889ec31ac0d5d13deadc42 100644 (file)
--- a/ggml.c
+++ b/ggml.c
@@ -6140,7 +6140,6 @@ static void ggml_compute_forward_dup_f32(
                 i10 += ne00 * ir0;
                 while (i10 >= ne0) {
                     i10 -= ne0;
-                    i11++;
                     if (++i11 == ne1) {
                         i11 = 0;
                         if (++i12 == ne2) {