From: Georgi Gerganov Date: Fri, 1 Dec 2023 21:57:52 +0000 (+0200) Subject: ggml : re-enable blas for src0 != F32 (#1583) X-Git-Tag: upstream/1.7.4~1216 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e369243ebd24c8a14201f6b4280bccbb7b6a7df3;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml : re-enable blas for src0 != F32 (#1583) --- diff --git a/ggml.c b/ggml.c index ada1067d..9612aa55 100644 --- a/ggml.c +++ b/ggml.c @@ -9373,7 +9373,7 @@ static bool ggml_compute_forward_mul_mat_use_blas( // TODO: find the optimal values for these if (ggml_is_contiguous(src0) && ggml_is_contiguous(src1) && - src0->type == GGML_TYPE_F32 && + //src0->type == GGML_TYPE_F32 && src1->type == GGML_TYPE_F32 && (ne0 >= 32 && ne1 >= 32 && ne10 >= 32)) {