Skip to content

Commit 08d0f9c

Browse files
committed
rm outdated comment
1 parent 111d5af commit 08d0f9c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

examples/llava/mtmd.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ struct mtmd_input_text {
5555

5656
//
5757
// C API
58-
// this is made to closely resemble the C++ API
5958
//
6059

6160
typedef struct mtmd_context mtmd_context;
@@ -211,11 +210,7 @@ MTMD_API int32_t mtmd_helper_eval_chunks(mtmd_context * ctx,
211210
bool logits_last,
212211
llama_pos * new_n_past);
213212

214-
// helper function to evaluate a single chunk
215-
// 1. run llama_decode() on text chunks
216-
// 2. run mtmd_encode() on image chunks, then mtmd_get_output_embd() and then llama_decode()
217-
// if any of the mtmd_encode() or llama_decode() calls return non-zero, stop and forward the error
218-
// otherwise, returns 0 on success
213+
// works like mtmd_helper_eval_chunks(), but only for a single chunk
219214
// this function is NOT thread-safe
220215
MTMD_API int32_t mtmd_helper_eval_chunk_single(mtmd_context * ctx,
221216
struct llama_context * lctx,

0 commit comments

Comments
 (0)