From f7e9d2785e7828fd2f8d2f4f8ca8eba9435e73c0 Mon Sep 17 00:00:00 2001 From: slaren Date: Sun, 23 Jul 2023 01:14:38 +0200 Subject: [PATCH] fix assert --- ggml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ggml.c b/ggml.c index 516fb0fb4..ed53c43ed 100644 --- a/ggml.c +++ b/ggml.c @@ -15465,7 +15465,6 @@ static void ggml_compute_backward(struct ggml_context * ctx, struct ggml_tensor { // necessary for llama if (src0->grad) { - assert(src1->type == GGML_TYPE_I32); const int n_past = ((int32_t *) tensor->op_params)[0]; src0->grad = ggml_add_impl(ctx, src0->grad,