]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
model : set res->t_embd in PLaMo2 models (#16766)
authorShunta Saito <redacted>
Sat, 25 Oct 2025 10:26:27 +0000 (19:26 +0900)
committerGitHub <redacted>
Sat, 25 Oct 2025 10:26:27 +0000 (12:26 +0200)
src/llama-model.cpp

index 7420a3176d93041da4daa72d39607e9a699f5f45..2a83d66279b7912d238eed34553c2c68c0f1a443 100644 (file)
@@ -17965,6 +17965,8 @@ struct llm_build_plamo2 : public llm_graph_context_mamba {
         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);
         cb(cur, "result_output", -1);