Skip to content

Commit 9eb5bfe

Browse files
author
Xuan-Son Nguyen
authored
mtmd : update docs to use llama_model_n_embd_inp (ggml-org#18999)
1 parent c6926d1 commit 9eb5bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/mtmd/mtmd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ MTMD_API int32_t mtmd_encode_chunk(mtmd_context * ctx,
224224

225225
// get output embeddings from the last encode pass
226226
// the reading size (in bytes) is equal to:
227-
// llama_model_n_embd(model) * mtmd_input_chunk_get_n_tokens(chunk) * sizeof(float)
227+
// llama_model_n_embd_inp(model) * mtmd_input_chunk_get_n_tokens(chunk) * sizeof(float)
228228
MTMD_API float * mtmd_get_output_embd(mtmd_context * ctx);
229229

230230
// Set callback for all future logging events.

0 commit comments

Comments
 (0)