From 7cce4f8158f0c4c88d8dadd4c23d33938127b897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigbj=C3=B8rn=20Skj=C3=A6ret?= Date: Sun, 26 Oct 2025 16:08:52 +0100 Subject: [PATCH] model : set res->t_embd in SmallThinker models (#16782) --- src/llama-model.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llama-model.cpp b/src/llama-model.cpp index 2a83d66279..a6a6fa7d71 100644 --- a/src/llama-model.cpp +++ b/src/llama-model.cpp @@ -19339,6 +19339,7 @@ struct llm_build_smallthinker : public llm_graph_context{ cur = build_norm(cur, model.output_norm, NULL, LLM_NORM_RMS, -1); cb(cur, "result_norm", -1); + res->t_embd = cur; // lm_head cur = build_lora_mm(model.output, cur);