Skip to content

Commit 425adcf

Browse files
kmbandyclaude
andcommitted
debug: remove verbose sched alloc/compute log instrumentation
Added during MAD-15 investigation (debug-kv-tiered branch). Not needed in master — removes per-token INFO noise around ggml_backend_sched_alloc_graph and ggml_backend_sched_graph_compute_async. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent df128ca commit 425adcf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/llama-context.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,13 +1222,11 @@ llm_graph_result * llama_context::process_ubatch(const llama_ubatch & ubatch, ll
12221222
return nullptr;
12231223
}
12241224

1225-
LLAMA_LOG_INFO("%s: calling ggml_backend_sched_alloc_graph\n", __func__);
12261225
if (!ggml_backend_sched_alloc_graph(sched.get(), gf)) {
12271226
LLAMA_LOG_ERROR("%s: ggml_backend_sched_alloc_graph returned false\n", __func__);
12281227
ret = GGML_STATUS_ALLOC_FAILED;
12291228
return nullptr;
12301229
}
1231-
LLAMA_LOG_INFO("%s: ggml_backend_sched_alloc_graph succeeded\n", __func__);
12321230
}
12331231

12341232
// set the input data for the input tensors
@@ -2201,12 +2199,10 @@ ggml_status llama_context::graph_compute(
22012199
set_n_threads_fn.second(set_n_threads_fn.first, n_threads);
22022200
}
22032201

2204-
LLAMA_LOG_INFO("%s: calling ggml_backend_sched_graph_compute_async\n", __func__);
22052202
auto status = ggml_backend_sched_graph_compute_async(sched.get(), gf);
22062203
if (status != GGML_STATUS_SUCCESS) {
22072204
LLAMA_LOG_ERROR("%s: ggml_backend_sched_graph_compute_async failed with error %d\n", __func__, status);
22082205
}
2209-
LLAMA_LOG_INFO("%s: ggml_backend_sched_graph_compute_async returned status=%d\n", __func__, status);
22102206

22112207
// fprintf(stderr, "splits: %d\n", ggml_backend_sched_get_n_splits(sched));
22122208

0 commit comments

Comments
 (0)