Skip to content

Commit

Permalink
Unbreak persimmon after ggerganov#3837 (ggerganov#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galunid authored and olexiyb committed Nov 23, 2023
1 parent 6e1a29d commit d81dc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d81dc32

Please sign in to comment.