From: Xuan-Son Nguyen Date: Thu, 22 Jan 2026 13:36:32 +0000 (+0100) Subject: mtmd : update docs to use llama_model_n_embd_inp (#18999) X-Git-Tag: upstream/0.0.8067~262 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9eb5bfec1acea3e5178e4b60c9554c5a682f0561;p=pkg%2Fggml%2Fsources%2Fllama.cpp mtmd : update docs to use llama_model_n_embd_inp (#18999) --- diff --git a/tools/mtmd/mtmd.h b/tools/mtmd/mtmd.h index a12c28ef2..ef25d32bb 100644 --- a/tools/mtmd/mtmd.h +++ b/tools/mtmd/mtmd.h @@ -224,7 +224,7 @@ MTMD_API int32_t mtmd_encode_chunk(mtmd_context * ctx, // get output embeddings from the last encode pass // the reading size (in bytes) is equal to: -// llama_model_n_embd(model) * mtmd_input_chunk_get_n_tokens(chunk) * sizeof(float) +// llama_model_n_embd_inp(model) * mtmd_input_chunk_get_n_tokens(chunk) * sizeof(float) MTMD_API float * mtmd_get_output_embd(mtmd_context * ctx); // Set callback for all future logging events.