Przeglądaj źródła

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

Sigbjørn Skjæret 2 miesięcy temu
rodzic
commit
7cce4f8158
1 zmienionych plików z 1 dodań i 0 usunięć
  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);