Skip to content

Commit 921e864

Browse files
mitmulCISC
andauthored
Update src/llama-model.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent d134e7f commit 921e864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15647,7 +15647,7 @@ struct llm_build_plamo2 : public llm_graph_context_mamba {
1564715647

1564815648
Vcur = ggml_reshape_3d(ctx0, Vcur, n_embd_head_v, n_head_kv, n_tokens);
1564915649

15650-
Qcur = build_norm(Qcur, model.layers[il].wq, NULL, LLM_NORM_RMS, il);
15650+
Qcur = build_norm(Qcur, model.layers[il].attn_q_norm, NULL, LLM_NORM_RMS, il);
1565115651
cb(Qcur, "Qcur_normed", il);
1565215652

1565315653
Qcur = ggml_rope_ext(
@@ -15656,7 +15656,7 @@ struct llm_build_plamo2 : public llm_graph_context_mamba {
1565615656
ext_factor, attn_factor, beta_fast, beta_slow
1565715657
);
1565815658

15659-
Kcur = build_norm(Kcur, model.layers[il].wk, NULL, LLM_NORM_RMS, il);
15659+
Kcur = build_norm(Kcur, model.layers[il].attn_k_norm, NULL, LLM_NORM_RMS, il);
1566015660
cb(Kcur, "Kcur_normed", il);
1566115661

1566215662
Kcur = ggml_rope_ext(

0 commit comments

Comments
 (0)