graph : Pass the graph placeholder message in debug mode (#14748)
Python check requirements.txt / check-requirements (push) Failing after 14s
Python Type-Check / pyright type-check (push) Successful in 58s

Without that condition, this debug log clutters the screen every batch treated in the prompt processing, or every token generated in Kobold.cpp.
This commit is contained in:
Nexes the Elder
2025-07-18 06:25:54 +02:00
committed by GitHub
parent 349ea79fce
commit 09651d09ff
+3 -1
View File
@@ -467,7 +467,9 @@ bool llm_graph_result::can_reuse(const llm_graph_params & params) {
for (auto & input : inputs) {
const bool cur = input->can_reuse(params);
LLAMA_LOG_DEBUG(" %s: can_reuse = %d\n", "placeholder", cur);
if (debug > 1) {
LLAMA_LOG_DEBUG("%s: can_reuse = %d\n", "placeholder", cur);
}
res = res && cur;
}