aboutsummaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-07-21 15:16:55 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-07-21 15:16:55 +0300
commit0db14fef06836caaa13cc123c0a24dc598bdb9f0 (patch)
tree20c27edba8db0ea767b3d3e86f38c2a37eef3884 /ggml.c
parent03e566977b277937c5f706180171c5d12b597b0b (diff)
ggml : fix the rope fix (513f8619535a64fa9ace808cdcbcf66211535f5c)
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index 7ecabc5..6055da8 100644
--- a/ggml.c
+++ b/ggml.c
@@ -12379,7 +12379,7 @@ static void ggml_compute_forward_rope_back_f32(
const struct ggml_tensor * src1,
struct ggml_tensor * dst) {
assert(src1->type == GGML_TYPE_I32);
- assert(ggml_nelements(src1) == 3);
+ assert(ggml_nelements(src1) == 4);
if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) {
return;