This commit is contained in:
Johannes Gäßler 2024-02-19 16:18:31 +02:00 committed by GitHub
commit 1c9b186452
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
ggml.c
View file

@ -11507,7 +11507,7 @@ static void ggml_compute_forward_diag_mask_inf(
switch (src0->type) {
case GGML_TYPE_F32:
{
ggml_compute_forward_diag_mask_f32(params, src0, dst, -INFINITY);
ggml_compute_forward_diag_mask_f32(params, src0, dst, -FLT_MAX);
} break;
default:
{