]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : change warning to debug log
authorGeorgi Gerganov <redacted>
Thu, 17 Oct 2024 20:26:32 +0000 (23:26 +0300)
committerGeorgi Gerganov <redacted>
Thu, 17 Oct 2024 20:27:42 +0000 (23:27 +0300)
src/llama.cpp

index d8e2b006c17ef2e231b8f2cc31bc887cd1aa4845..ffaa6f789b310fafc8438c1b539667e893e76efa 100644 (file)
@@ -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());
                 }
             }