ggerganov commited on
Commit
87987de
·
unverified ·
1 Parent(s): 17f1f89

ggml : re-enable blas for src0 != F32 (#1583)

Browse files
Files changed (1) hide show
  1. ggml.c +1 -1
ggml.c CHANGED
@@ -9373,7 +9373,7 @@ static bool ggml_compute_forward_mul_mat_use_blas(
9373
  // TODO: find the optimal values for these
9374
  if (ggml_is_contiguous(src0) &&
9375
  ggml_is_contiguous(src1) &&
9376
- src0->type == GGML_TYPE_F32 &&
9377
  src1->type == GGML_TYPE_F32 &&
9378
  (ne0 >= 32 && ne1 >= 32 && ne10 >= 32)) {
9379
 
 
9373
  // TODO: find the optimal values for these
9374
  if (ggml_is_contiguous(src0) &&
9375
  ggml_is_contiguous(src1) &&
9376
+ //src0->type == GGML_TYPE_F32 &&
9377
  src1->type == GGML_TYPE_F32 &&
9378
  (ne0 >= 32 && ne1 >= 32 && ne10 >= 32)) {
9379