ggml : fix the rope fix (513f861953)

This commit is contained in:
Georgi Gerganov 2023-07-21 15:16:55 +03:00
parent 03e566977b
commit 0db14fef06
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

2
ggml.c
View File

@ -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;