]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
model : set res->t_embd in SmallThinker models (#16782)
authorSigbjørn Skjæret <redacted>
Sun, 26 Oct 2025 15:08:52 +0000 (16:08 +0100)
committerGitHub <redacted>
Sun, 26 Oct 2025 15:08:52 +0000 (16:08 +0100)
src/llama-model.cpp

index 2a83d66279b7912d238eed34553c2c68c0f1a443..a6a6fa7d7198ad22334a80e7d89408bc3509a750 100644 (file)
@@ -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);