mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-01-30 12:13:15 +08:00
ggml : fix the rope fix (513f8619535a64fa9ace808cdcbcf66211535f5c)
This commit is contained in:
parent
03e566977b
commit
0db14fef06
2
ggml.c
2
ggml.c
@ -12379,7 +12379,7 @@ static void ggml_compute_forward_rope_back_f32(
|
|||||||
const struct ggml_tensor * src1,
|
const struct ggml_tensor * src1,
|
||||||
struct ggml_tensor * dst) {
|
struct ggml_tensor * dst) {
|
||||||
assert(src1->type == GGML_TYPE_I32);
|
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) {
|
if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user