From: Georgi Gerganov Date: Thu, 17 Oct 2024 20:26:32 +0000 (+0300) Subject: llama : change warning to debug log X-Git-Tag: upstream/0.0.4488~551 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9f45fc1e9950a496febc575cdd196cd5cad000cc;p=pkg%2Fggml%2Fsources%2Fllama.cpp llama : change warning to debug log --- diff --git a/src/llama.cpp b/src/llama.cpp index d8e2b006..ffaa6f78 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -6735,9 +6735,9 @@ static void llm_load_vocab( vocab.id_to_token[t.second].attr = LLAMA_TOKEN_ATTR_CONTROL; } } else { - // token is control, but not marked as EOG -> print a warning + // token is control, but not marked as EOG -> print a debug log if (vocab.id_to_token[t.second].attr & LLAMA_TOKEN_ATTR_CONTROL && vocab.special_eog_ids.count(t.second) == 0) { - LLAMA_LOG_WARN("%s: control token: %6d '%s' is not marked as EOG\n", + LLAMA_LOG_DEBUG("%s: control token: %6d '%s' is not marked as EOG\n", __func__, t.second, t.first.c_str()); } }