solve alibi cpu error
This commit is contained in:
parent
af19099ab1
commit
3374ff7324
1 changed files with 0 additions and 2 deletions
2
ggml.c
2
ggml.c
|
@ -12889,7 +12889,6 @@ static void ggml_compute_forward_alibi_f32(
|
|||
return;
|
||||
}
|
||||
|
||||
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));
|
||||
|
@ -12910,7 +12909,6 @@ static void ggml_compute_forward_alibi_f32(
|
|||
//const int nb3 = src0->nb[3];
|
||||
|
||||
GGML_ASSERT(nb0 == sizeof(float));
|
||||
GGML_ASSERT(ne1 + n_past == ne0);
|
||||
GGML_ASSERT(n_head == ne2);
|
||||
|
||||
// add alibi to src0 (KQ_scaled)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue