summaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ggml.c b/ggml.c
index 5bb1da31..1f5598fa 100644
--- a/ggml.c
+++ b/ggml.c
@@ -13059,13 +13059,11 @@ static void ggml_compute_forward_alibi_f32(
return;
}
- const int n_past = ((int32_t *) dst->op_params)[0]; UNUSED(n_past);
+ //const int n_past = ((int32_t *) dst->op_params)[0];
const int n_head = ((int32_t *) dst->op_params)[1];
float max_bias;
memcpy(&max_bias, (int32_t *) dst->op_params + 2, sizeof(float));
- assert(n_past >= 0);
-
const int64_t ne0 = src0->ne[0]; // all_seq_len = n_past + ne1
const int64_t ne1 = src0->ne[1]; // seq_len_without_past
const int64_t ne2 = src0->ne[2]; // n_head -> this is k