Commit 8b42ea7ed for llama.cpp
commit 8b42ea7ed04fde8e42620ff2267d817b5a758469
Author: Ahmed Mohammed <ahmedm25085@gmail.com>
Date: Fri Dec 4 07:01:38 2026 -0500
model : apply control vectors in hy_v4 and hy_v4_flash (#33644)
diff --git a/src/models/hy-v4-flash.cpp b/src/models/hy-v4-flash.cpp
index ff340a41f..76e950962 100644
--- a/src/models/hy-v4-flash.cpp
+++ b/src/models/hy-v4-flash.cpp
@@ -1049,6 +1049,7 @@ llama_model_hy_v4_flash::graph::graph(const llama_model & model, const llm_graph
cb(cur, "ffn_out", il);
inpL = build_hc_post(cur, residual, ffn_hc.post, il);
+ inpL = build_cvec(inpL, il);
cb(inpL, "l_out", il);
}
diff --git a/src/models/hy-v4.cpp b/src/models/hy-v4.cpp
index 88465f70f..08291d392 100644
--- a/src/models/hy-v4.cpp
+++ b/src/models/hy-v4.cpp
@@ -562,6 +562,7 @@ llama_model_hy_v4::graph::graph(const llm_graph_params & params) :
}
inpL = build_hc_post(cur, residual, ffn_hc.post, il);
+ inpL = build_cvec(inpL, il);
cb(inpL, "l_out", il);
}