From: Georgi Gerganov Date: Wed, 4 Oct 2023 13:25:41 +0000 (+0300) Subject: ggml : fix build after #3329 X-Git-Tag: upstream/0.0.4488~3166 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0d152b37fecd5a4838330d47bb034cebf1681779;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : fix build after #3329 --- diff --git a/ggml.c b/ggml.c index f56d6ac7..911a6398 100644 --- a/ggml.c +++ b/ggml.c @@ -13082,6 +13082,7 @@ static void ggml_compute_forward_alibi_f32( return; } + const int n_past = ((int32_t *) dst->op_params)[0]; UNUSED(n_past); const int n_head = ((int32_t *) dst->op_params)[1]; float max_bias; memcpy(&max_bias, (int32_t *) dst->op_params + 2, sizeof(float));