Skip to content

Commit 164edd6

Browse files
committed
fix: ggml metal patch
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 5b993f1 commit 164edd6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

patches/ggml/metal.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/ggml-metal.m b/src/ggml-metal.m
2+
index 04ec511..9387339 100644
3+
--- a/src/ggml-metal.m
4+
+++ b/src/ggml-metal.m
5+
@@ -2604,7 +2604,7 @@ static void ggml_metal_encode_node(
6+
} break;
7+
case GGML_OP_GROUP_NORM:
8+
{
9+
- GGML_ASSERT(ne00 % 4 == 0);
10+
+// GGML_ASSERT(ne00 % 4 == 0);
11+
GGML_ASSERT(ggml_is_contiguous(src0));
12+
13+
float eps;

0 commit comments

Comments
 (0)