llama : fix incorrect minicpm3 v_states shape (#14571)

This commit is contained in:
Sigbjørn Skjæret 2025-07-07 23:35:35 +02:00 committed by GitHub
parent 12f55c302b
commit e1a7059053
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -8699,11 +8699,6 @@ struct llm_build_minicpm3 : public llm_graph_context {
v_states = ggml_cont(ctx0, v_states);
cb(v_states, "v_states", il);
v_states = ggml_view_2d(ctx0, v_states, hparams.n_embd_head_v * n_head, n_tokens,
ggml_row_size(kv->type, hparams.n_embd_head_v * n_head),
0);
cb(v_states, "v_states", il);
q_pe = ggml_rope_ext(
ctx0, q_pe, inp_pos, rope_factors,
n_rot, rope_type, n_ctx_orig, freq_base, freq_scale,