From ba1367d24d45f96e99d3c09aaf4bb970c93716b8 Mon Sep 17 00:00:00 2001 From: sumitchatterjee13 Date: Fri, 20 Mar 2026 22:17:15 +1100 Subject: [PATCH] sarvam_moe: fix n_embd_head_v/k to use function call syntax --- src/models/sarvam-moe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/sarvam-moe.cpp b/src/models/sarvam-moe.cpp index b2be70d919..0e05397359 100644 --- a/src/models/sarvam-moe.cpp +++ b/src/models/sarvam-moe.cpp @@ -2,10 +2,10 @@ llm_build_sarvam_moe::llm_build_sarvam_moe(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { - const int64_t n_embd_head = hparams.n_embd_head_v; + const int64_t n_embd_head = hparams.n_embd_head_v(); const int64_t n_embd_gqa = hparams.n_embd_v_gqa(); - GGML_ASSERT(n_embd_head == hparams.n_embd_head_k); + GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); ggml_tensor * cur; ggml_tensor * inpL;