Skip to content

Commit 8ef9a5a

Browse files
try CI fix
1 parent a0402ad commit 8ef9a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,11 +1206,11 @@ static bool ggml_metal_supports_op(const struct ggml_backend_metal_device_contex
12061206
case GGML_OP_GROUP_NORM:
12071207
return has_simdgroup_reduction;
12081208
case GGML_OP_RMS_NORM:
1209-
return has_simdgroup_reduction && (op->ne[0] % 4 == 0 && ggml_is_contiguous_1(op->src[0]);
1209+
return has_simdgroup_reduction && (op->ne[0] % 4 == 0 && ggml_is_contiguous_1(op->src[0]));
12101210
case GGML_OP_ARGMAX:
12111211
return true;
12121212
case GGML_OP_NORM:
1213-
return has_simdgroup_reduction && (op->ne[0] % 4 == 0 && ggml_is_contiguous_1(op->src[0]);
1213+
return has_simdgroup_reduction && ggml_is_contiguous(op->src[0]);
12141214
case GGML_OP_ROPE:
12151215
{
12161216
const int mode = ((const int32_t *) op->op_params)[2];

0 commit comments

Comments
 (0)