Skip to content

Commit 9f45fc1

Browse files
committed
llama : change warning to debug log
1 parent 99bd4ac commit 9f45fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6735,9 +6735,9 @@ static void llm_load_vocab(
67356735
vocab.id_to_token[t.second].attr = LLAMA_TOKEN_ATTR_CONTROL;
67366736
}
67376737
} else {
6738-
// token is control, but not marked as EOG -> print a warning
6738+
// token is control, but not marked as EOG -> print a debug log
67396739
if (vocab.id_to_token[t.second].attr & LLAMA_TOKEN_ATTR_CONTROL && vocab.special_eog_ids.count(t.second) == 0) {
6740-
LLAMA_LOG_WARN("%s: control token: %6d '%s' is not marked as EOG\n",
6740+
LLAMA_LOG_DEBUG("%s: control token: %6d '%s' is not marked as EOG\n",
67416741
__func__, t.second, t.first.c_str());
67426742
}
67436743
}

0 commit comments

Comments
 (0)