Skip to content

Commit ba1367d

Browse files
sarvam_moe: fix n_embd_head_v/k to use function call syntax
1 parent 696d26e commit ba1367d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/models/sarvam-moe.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
llm_build_sarvam_moe::llm_build_sarvam_moe(const llama_model & model, const llm_graph_params & params) :
44
llm_graph_context(params) {
5-
const int64_t n_embd_head = hparams.n_embd_head_v;
5+
const int64_t n_embd_head = hparams.n_embd_head_v();
66
const int64_t n_embd_gqa = hparams.n_embd_v_gqa();
77

8-
GGML_ASSERT(n_embd_head == hparams.n_embd_head_k);
8+
GGML_ASSERT(n_embd_head == hparams.n_embd_head_k());
99

1010
ggml_tensor * cur;
1111
ggml_tensor * inpL;

0 commit comments

Comments
 (0)