Skip to content

Commit

Permalink
ggml : fix build after ggerganov#3329
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Oct 4, 2023
1 parent f8c90cd commit 0d152b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0d152b3

Please sign in to comment.