From ec25dfc75a7879a425ed304ea86397b9774ec8af Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Thu, 27 Jun 2024 20:53:00 -0400 Subject: [PATCH] Add control vector --- src/llama.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llama.cpp b/src/llama.cpp index fc8f16e04..ed7c295fe 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -11090,6 +11090,7 @@ struct llm_build_context { cb(cur, "ffn_post_norm", -1); cur = ggml_add(ctx0, cur, sa_out); + cur = lctx.cvec.apply_to(ctx0, cur, il); cb(cur, "l_out", il); // input for next layer