summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-10-04 16:25:41 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-10-04 16:25:41 +0300
commit0d152b37fecd5a4838330d47bb034cebf1681779 (patch)
treee16adfc5a2cef837e1ea7be3e4afad6da99d2298
parentf8c90cdbaa729e64493164c1aba7ea80da7b716f (diff)
ggml : fix build after #3329
-rw-r--r--ggml.c1
1 files changed, 1 insertions, 0 deletions
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));