llama : replace ggml_diag_mask_inf with ggml_add (custom -inf mask)

This commit is contained in:
Georgi Gerganov 2023-09-17 19:42:39 +03:00
parent c5df72e848
commit 3b4bab6a38
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
4 changed files with 128 additions and 31 deletions

2
ggml.c
View file

@ -8797,8 +8797,6 @@ static void ggml_compute_forward_add_f32(
#else
ggml_vec_add_f32(ne00, dst_ptr, src0_ptr, src1_ptr);
#endif
// }
// }
}
} else {
// src1 is not contiguous