Skip to content

Commit e1a7059

Browse files
authored
llama : fix incorrect minicpm3 v_states shape (#14571)
1 parent 12f55c3 commit e1a7059

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/llama-model.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8699,11 +8699,6 @@ struct llm_build_minicpm3 : public llm_graph_context {
86998699
v_states = ggml_cont(ctx0, v_states);
87008700
cb(v_states, "v_states", il);
87018701

8702-
v_states = ggml_view_2d(ctx0, v_states, hparams.n_embd_head_v * n_head, n_tokens,
8703-
ggml_row_size(kv->type, hparams.n_embd_head_v * n_head),
8704-
0);
8705-
cb(v_states, "v_states", il);
8706-
87078702
q_pe = ggml_rope_ext(
87088703
ctx0, q_pe, inp_pos, rope_factors,
87098704
n_rot, rope_type, n_ctx_orig, freq_base, freq_scale,

0 commit comments

Comments
 (0)