From fc719f0a4eef11b8883023663f4ca39ef98ced94 Mon Sep 17 00:00:00 2001 From: Iwan Kawrakow Date: Wed, 24 Sep 2025 10:59:51 +0300 Subject: [PATCH] This is not needed --- ggml/src/ggml.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index af344e6c..eaaa06da 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -40,7 +40,7 @@ #include #endif -#define IK_PRINT_TIMING 0 +#define IK_PRINT_TIMING 1 #ifdef GGML_USE_OPENMP #include @@ -20327,8 +20327,6 @@ static void ggml_compute_forward_cross_entropy_loss_back( static int ggml_compute_forward(struct ggml_compute_params * params, struct ggml_tensor * tensor, const struct ggml_cgraph * cgraph, int i) { - struct ggml_tensor * next = i < cgraph->n_nodes-1 ? cgraph->nodes[i+1] : NULL; - GGML_ASSERT(params); if (tensor->op == GGML_OP_NONE || ggml_is_empty(tensor)) {