change graph alloc fail print from debug to error

This commit is contained in:
slaren 2024-10-11 15:22:52 +02:00
parent 32d1c6ea13
commit a85f67db5b

View file

@ -2091,7 +2091,7 @@ static bool ggml_backend_sched_alloc_splits(ggml_backend_sched_t sched) {
#endif #endif
ggml_gallocr_reserve_n(sched->galloc, &sched->graph, sched->node_backend_ids, sched->leaf_backend_ids); ggml_gallocr_reserve_n(sched->galloc, &sched->graph, sched->node_backend_ids, sched->leaf_backend_ids);
if (!ggml_gallocr_alloc_graph(sched->galloc, &sched->graph)) { if (!ggml_gallocr_alloc_graph(sched->galloc, &sched->graph)) {
GGML_LOG_DEBUG("%s: failed to allocate graph\n", __func__); GGML_LOG_ERROR("%s: failed to allocate graph\n", __func__);
return false; return false;
} }
} }