From: Sigbjørn Skjæret Date: Sun, 26 Oct 2025 15:08:52 +0000 (+0100) Subject: model : set res->t_embd in SmallThinker models (#16782) X-Git-Tag: upstream/0.0.7011~168 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7cce4f8158f0c4c88d8dadd4c23d33938127b897;p=pkg%2Fggml%2Fsources%2Fllama.cpp model : set res->t_embd in SmallThinker models (#16782) --- diff --git a/src/llama-model.cpp b/src/llama-model.cpp index 2a83d662..a6a6fa7d 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);