Преглед изворни кода

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

Sigbjørn Skjæret пре 3 месеци
родитељ
комит
7cce4f8158
1 измењених фајлова са 1 додато и 0 уклоњено
  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);