disable graph dot export as it floods console

This commit is contained in:
xaedes 2023-04-25 22:05:22 +02:00
parent 9345f4c3a5
commit 9d6fc28f18
No known key found for this signature in database
GPG key ID: 30030EDD817EA2B1

View file

@ -124,8 +124,8 @@ bool check_gradient(
ggml_set_f32 (f->grad, 1.0f);
ggml_graph_compute(ctx0, &gb);
ggml_graph_dump_dot(&gf, NULL, "test-grad0-forward.dot");
ggml_graph_dump_dot(&gb, &gf, "test-grad0-backward.dot");
// ggml_graph_dump_dot(&gf, NULL, "test-grad0-forward.dot");
// ggml_graph_dump_dot(&gb, &gf, "test-grad0-backward.dot");
for (int i = 0; i < nargs; ++i) {
const int nelements = ggml_nelements(x[i]);