From: ddh0 Date: Sun, 17 May 2026 06:38:17 +0000 (-0500) Subject: ngram : reduce noisy logs (#23185) X-Git-Tag: upstream/0.0.10438~1246 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a16cce81d3996f9872114e94a177831c6285d1f6;p=pkg%2Fggml%2Fsources%2Fllama.cpp ngram : reduce noisy logs (#23185) * ngram : reduce noisy logs * ngram : reduce noisy logs --- diff --git a/common/ngram-map.cpp b/common/ngram-map.cpp index 8e3978f7e..02bc482fe 100644 --- a/common/ngram-map.cpp +++ b/common/ngram-map.cpp @@ -471,7 +471,7 @@ void common_ngram_map_draft(common_ngram_map & map, sum_occur += curr_occur; } - LOG_INF("%s: key_offset = %zu, max_occur = %d, sum_occur = %d, slot_max = %d [%zu/%d, %zu/%d, %zu/%d, %zu/%d]\n", __func__, + LOG_DBG("%s: key_offset = %zu, max_occur = %d, sum_occur = %d, slot_max = %d [%zu/%d, %zu/%d, %zu/%d, %zu/%d]\n", __func__, key_offset, max_occur, sum_occur, slot_max, curr_key.values[0].value_idx, curr_key.values[0].value_num, @@ -482,7 +482,7 @@ void common_ngram_map_draft(common_ngram_map & map, // Print the tokens of the four values (if idx != 0), use LOG_INF for (int v = 0; v < COMMON_NGRAM_MAX_VALUES; ++v) { if (curr_key.values[v].value_idx != 0) { - LOG_INF("%s: value[%d] = %s\n", __func__, v, common_tokens_to_str(inp, curr_key.values[v].value_idx, m).c_str()); + LOG_DBG("%s: value[%d] = %s\n", __func__, v, common_tokens_to_str(inp, curr_key.values[v].value_idx, m).c_str()); } }