We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a7855 commit 0b32b68Copy full SHA for 0b32b68
tools/mtmd/mtmd-helper.cpp
@@ -10,6 +10,7 @@
10
#include "mtmd.h"
11
#include "mtmd-helper.h"
12
#include "llama.h"
13
+#include "llama-impl.h"
14
15
#include <algorithm>
16
#include <cinttypes>
@@ -32,8 +33,8 @@
32
33
#define STB_IMAGE_IMPLEMENTATION
34
#include "stb/stb_image.h"
35
-#define LOG_INF(...) fprintf(stdout, __VA_ARGS__)
36
-#define LOG_ERR(...) fprintf(stderr, __VA_ARGS__)
+#define LOG_INF(...) LLAMA_LOG_DEBUG(__VA_ARGS__)
37
+#define LOG_ERR(...) LLAMA_LOG_ERROR(__VA_ARGS__)
38
39
size_t mtmd_helper_get_n_tokens(const mtmd_input_chunks * chunks) {
40
size_t n_tokens = 0;
0 commit comments