Skip to content

Commit 0cb6696

Browse files
ikawrakowIwan Kawrakow
andauthored
Disable "...is not marked as EOG" messages (#712)
Co-authored-by: Iwan Kawrakow <[email protected]>
1 parent 2572d16 commit 0cb6696

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/llama-vocab.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,10 +2331,10 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
23312331
}
23322332
} else {
23332333
// token is control, but not marked as EOG -> print a debug log
2334-
if (id_to_token[t.second].attr & LLAMA_TOKEN_ATTR_CONTROL && special_eog_ids.count(t.second) == 0) {
2335-
LLAMA_LOG_DEBUG("%s: control token: %6d '%s' is not marked as EOG\n",
2336-
__func__, t.second, t.first.c_str());
2337-
}
2334+
//if (id_to_token[t.second].attr & LLAMA_TOKEN_ATTR_CONTROL && special_eog_ids.count(t.second) == 0) {
2335+
// LLAMA_LOG_DEBUG("%s: control token: %6d '%s' is not marked as EOG\n",
2336+
// __func__, t.second, t.first.c_str());
2337+
//}
23382338
}
23392339
}
23402340

0 commit comments

Comments
 (0)