Unbreak persimmon after #3837 (#4010)

This commit is contained in:
Galunid 2023-11-10 14:24:54 +01:00 committed by GitHub
parent a75fa576ab
commit df9d1293de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4209,7 +4209,7 @@ struct llm_build_context {
struct ggml_tensor * Kcur = ggml_concat(ctx0, krotated, kpass);
cb(Kcur, "Kcur", il);
struct ggml_tensor * Q = ggml_cont(ctx0, ggml_permute(ctx0, Qcur, 1, 2, 0, 3));
struct ggml_tensor * Q = ggml_cont(ctx0, ggml_permute(ctx0, Qcur, 2, 1, 0, 3));
cb(Q, "Q", il);
Kcur = ggml_cont(ctx0, ggml_permute(ctx0, Kcur, 2, 1, 0, 3));