Skip to content

Commit 31d8e20

Browse files
committed
Merge plamo2 changes from master
1 parent 58a5e4a commit 31d8e20

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/models/plamo2.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#include "models.h"
22

3-
4-
5-
63
llm_build_plamo2::llm_build_plamo2(const llama_model & model, const llm_graph_params & params) :
74
llm_graph_context_mamba(params) {
85
ggml_tensor * cur;
@@ -78,6 +75,8 @@ llm_build_plamo2::llm_build_plamo2(const llama_model & model, const llm_graph_pa
7875
cur = build_norm(cur, model.output_norm, NULL, LLM_NORM_RMS, -1);
7976
cb(cur, "result_norm", -1);
8077

78+
res->t_embd = cur;
79+
8180
// lm_head
8281
cur = build_lora_mm(model.output, cur);
8382
cb(cur, "result_output", -1);

0 commit comments

Comments
 (0)