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)) {