ggml : remove obsolete n_past assert in ggml_alibi
This commit is contained in:
parent
32172f12f5
commit
96cf3f5dc3
1 changed files with 0 additions and 2 deletions
2
ggml.c
2
ggml.c
|
@ -13064,8 +13064,6 @@ static void ggml_compute_forward_alibi_f32(
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue