From 9eb5bfec1acea3e5178e4b60c9554c5a682f0561 Mon Sep 17 00:00:00 2001 From: Xuan-Son Nguyen Date: Thu, 22 Jan 2026 14:36:32 +0100 Subject: [PATCH] mtmd : update docs to use llama_model_n_embd_inp (#18999) --- tools/mtmd/mtmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mtmd/mtmd.h b/tools/mtmd/mtmd.h index a12c28ef22..ef25d32bbe 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.