Update ggml.c

This commit is contained in:
Georgi Gerganov 2023-05-14 18:51:26 +03:00 committed by GitHub
parent 279c372ea0
commit d03a85a747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
ggml.c
View file

@ -10506,7 +10506,6 @@ static void ggml_compute_forward_diag_mask_f32(
const int n_past = ((int32_t *) src1->data)[0]; const int n_past = ((int32_t *) src1->data)[0];
const bool inplace = (bool)((int32_t *) src1->data)[1]; const bool inplace = (bool)((int32_t *) src1->data)[1];
assert(n_past >= 0); assert(n_past >= 0);
if (!inplace && (params->type == GGML_TASK_INIT)) { if (!inplace && (params->type == GGML_TASK_INIT)) {