remove ggml_graph_compute from tests/test-grad0.c, but current change breaks backward
This commit is contained in:
parent
a37de23953
commit
db81f33ef2
1 changed files with 0 additions and 1 deletions
|
@ -218,7 +218,6 @@ bool check_gradient(
|
||||||
|
|
||||||
struct ggml_cgraph gb = ggml_build_backward(ctx0, &gf, false);
|
struct ggml_cgraph gb = ggml_build_backward(ctx0, &gf, false);
|
||||||
|
|
||||||
ggml_graph_compute(ctx0, &gf);
|
|
||||||
{
|
{
|
||||||
struct ggml_graph_compute_plan plan = ggml_graph_compute_make_plan(&gf, n_threads);
|
struct ggml_graph_compute_plan plan = ggml_graph_compute_make_plan(&gf, n_threads);
|
||||||
if (plan.work_size > 0) {
|
if (plan.work_size > 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue