ggml : fix build after #3329

This commit is contained in:
Georgi Gerganov 2023-10-04 16:25:41 +03:00
parent f8c90cdbaa
commit 0d152b37fe
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

1
ggml.c
View file

@ -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));