]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ggml : re-enable blas for src0 != F32 (#1583)
authorGeorgi Gerganov <redacted>
Fri, 1 Dec 2023 21:57:52 +0000 (23:57 +0200)
committerGitHub <redacted>
Fri, 1 Dec 2023 21:57:52 +0000 (23:57 +0200)
ggml.c

diff --git a/ggml.c b/ggml.c
index ada1067da56d45ba5111311ad390671b940c2815..9612aa554028810741732462390c16b1e7a1473d 100644 (file)
--- 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)) {