How to suppress or capture log messages associated with MTMD? #1401
Unanswered
gordon-vart
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am doing image processing but when executing the inference it is generating console output which I cannot suppress.
This function mtmd_helper_eval_chunk_single in llama.cpp is getting call which then does logging, but this is getting bypassed from the llama log setting callback below.
LOG_INF("%s slice encoded in %" PRId64 " ms\n", name, ggml_time_ms() - t0); is being called within llama.cpp.
I am using llamasharp but I am unable to capture and suppress this message using NativeLogConfig.llama_log_set((level, message) =>
{
// Leave empty to completely swallow native logs
});
Any help would be appreciated. thanks
Beta Was this translation helpful? Give feedback.
All reactions