From 1e95f0c58d3aed557f28ee5ddb7bc9b1a1eb956a Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 16 Nov 2024 21:32:41 +0200 Subject: [PATCH] ggml : fix compile warnings (#0) ggml-ci --- ggml/src/ggml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index 4a478fcaa..ee72a173e 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -5501,7 +5501,7 @@ static void ggml_compute_backward( fprintf(stderr, "%s: unsupported unary op for backward pass: %s\n", __func__, ggml_unary_op_name(ggml_get_unary_op(tensor))); GGML_ABORT("fatal error"); - } break; + } //break; } } break; case GGML_OP_CROSS_ENTROPY_LOSS: { @@ -5517,7 +5517,7 @@ static void ggml_compute_backward( default: { fprintf(stderr, "%s: unsupported ggml op for backward pass: %s\n", __func__, ggml_op_name(tensor->op)); GGML_ABORT("fatal error"); - } break; + } //break; } GGML_ASSERT(!src0_needs_grads || ggml_are_same_shape(src0, cgraph->grads[isrc0]));