]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
mtmd : update docs to use llama_model_n_embd_inp (#18999)
authorXuan-Son Nguyen <redacted>
Thu, 22 Jan 2026 13:36:32 +0000 (14:36 +0100)
committerGitHub <redacted>
Thu, 22 Jan 2026 13:36:32 +0000 (14:36 +0100)
tools/mtmd/mtmd.h

index a12c28ef22049e5b4a8c73945bca84d615d9cf6f..ef25d32bbef8edf12a3522086f220a067de9ef0e 100644 (file)
@@ -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.