From: Georgi Gerganov Date: Fri, 21 Jul 2023 12:16:55 +0000 (+0300) Subject: ggml : fix the rope fix (513f8619535a64fa9ace808cdcbcf66211535f5c) X-Git-Tag: gguf-v0.4.0~435 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0db14fef06836caaa13cc123c0a24dc598bdb9f0;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : fix the rope fix (513f8619535a64fa9ace808cdcbcf66211535f5c) --- diff --git a/ggml.c b/ggml.c index 7ecabc5d..6055da86 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;