summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-29 22:20:40 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2024-05-29 22:21:20 +0300
commit55d62262a99cd8bc28a1492975791fe433c8cc0f (patch)
treedb38e56a34b4784ca38e4b677b7ae448c27978ee
parent975ec63ff26cdf96156d1126d86f75a395fdc43a (diff)
metal : remove invalid asserts (#7617)
-rw-r--r--ggml-kompute.cpp3
-rw-r--r--ggml-metal.m3
2 files changed, 0 insertions, 6 deletions
diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp
index 18ce95eb..0c51c322 100644
--- a/ggml-kompute.cpp
+++ b/ggml-kompute.cpp
@@ -1597,9 +1597,6 @@ static void ggml_vk_graph_compute(struct ggml_kompute_context * ctx, struct ggml
{
GGML_ASSERT(ne00 == ne10);
- GGML_ASSERT(ggml_is_contiguous_2(src0));
- GGML_ASSERT(ggml_is_contiguous_2(src1));
-
GGML_ASSERT(ne12 % ne02 == 0);
GGML_ASSERT(ne13 % ne03 == 0);
diff --git a/ggml-metal.m b/ggml-metal.m
index e7c4298a..07991295 100644
--- a/ggml-metal.m
+++ b/ggml-metal.m
@@ -1519,9 +1519,6 @@ static enum ggml_status ggml_metal_graph_compute(
{
GGML_ASSERT(ne00 == ne10);
- GGML_ASSERT(ggml_is_contiguous_2(src0));
- GGML_ASSERT(ggml_is_contiguous_2(src1));
-
GGML_ASSERT(ne12 % ne02 == 0);
GGML_ASSERT(ne13 % ne03 == 0);