Skip to content

Commit 10cb459

Browse files
committed
metal : test
1 parent 3e68df8 commit 10cb459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-metal.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ void ggml_metal_graph_compute(
10831083

10841084
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
10851085
// to the matrix-vector kernel
1086-
int ne11_mm_min = 1;
1086+
int ne11_mm_min = src0t == GGML_TYPE_F16 ? (ne12 == 1 ? 2 : 0) : 16;
10871087

10881088
#if 0
10891089
// the numbers below are measured on M2 Ultra for 7B and 13B models

0 commit comments

Comments
 (0)