Quellcode durchsuchen

model : set res->t_embd in SmallThinker models (#16782)

Sigbjørn Skjæret vor 3 Monaten
Ursprung
Commit
7cce4f8158
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/llama-model.cpp

+ 1 - 0
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);