[Backend][Common]Some error message explanation #8088
Answered
by
slaren
luoyu-intel
asked this question in
Q&A
-
Hi @slaren @ggerganov , I'm debugging the accuracy error of the SYCL backend. I found some error messages while built with debug and ngl is less than 32(llama2 32 layers).
code is here: // allocate graph
if (backend_ids_changed || !ggml_gallocr_alloc_graph(sched->galloc, sched->graph)) {
// the re-allocation may cause the split inputs to be moved to a different address
ggml_backend_sched_synchronize(sched);
#ifndef NDEBUG
fprintf(stderr, "%s: failed to allocate graph, reserving\n", __func__);
#endif
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)) {
fprintf(stderr, "%s: failed to allocate graph\n", __func__);
return false;
}
} Are these messages I listed error messages? Or can I just ignore them? |
Beta Was this translation helpful? Give feedback.
Answered by
slaren
Jun 24, 2024
Replies: 1 comment
-
Hi, these are trace messages to help understand the behavior of the allocator, and do not indicate an error. You can ignore them. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
luoyu-intel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, these are trace messages to help understand the behavior of the allocator, and do not indicate an error. You can ignore them.