Skip to content

Commit c02acb6

Browse files
committed
metal : restore matrix x vector f16_f32 kerenls for now
1 parent fc143d5 commit c02acb6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ggml-metal.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,9 +937,7 @@ void ggml_metal_graph_compute(
937937
nth1 = 1;
938938
if (ne11 * ne12 < 4) {
939939
[encoder setComputePipelineState:ctx->pipeline_mul_mat_f16_f32_1row];
940-
//} else if (ne00 >= 128 && ne01 >= 8 && ne00%4 == 0) {
941-
} else if (false) {
942-
// TODO: with ggml_mul_mat_pad this kernel no longer seems to be needed
940+
} else if (ne00 >= 128 && ne01 >= 8 && ne00%4 == 0) {
943941
[encoder setComputePipelineState:ctx->pipeline_mul_mat_f16_f32_l4];
944942
nrows = ne11;
945943
} else {

0 commit comments

Comments
 (0)