From: Xuan-Son Nguyen Date: Fri, 5 Jun 2026 16:12:27 +0000 (+0200) Subject: model: fix build failed (#24193) X-Git-Tag: upstream/0.0.10438~905 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c4a278d68efa17811006f2123a84081dac03fac7;p=pkg%2Fggml%2Fsources%2Fllama.cpp model: fix build failed (#24193) --- diff --git a/src/llama-model.cpp b/src/llama-model.cpp index 6808ad044..137d3501e 100644 --- a/src/llama-model.cpp +++ b/src/llama-model.cpp @@ -1764,7 +1764,7 @@ void llama_model::print_info() const { [](const auto & entry) { return entry >= 0; })) { LLAMA_LOG_INFO("%s: deepstack_mapping_arr = %s\n", __func__, print_f([&](uint32_t il) { return hparams.deepstack_mapping_arr[il]; }, - hparams.n_layer).c_str()); + hparams.n_layer()).c_str()); } // MRoPE (Multi-axis Rotary Position Embedding) sections if (const auto & s = hparams.rope_sections; s[0] || s[1] || s[2] || s[3]) {