From 995c2204e5962136e60bd9e74b0737e13783b5e2 Mon Sep 17 00:00:00 2001 From: Matteo Boschini Date: Mon, 31 Jul 2023 21:25:09 +0200 Subject: [PATCH] Added ne03==ne13 assertion --- ggml-metal.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml-metal.m b/ggml-metal.m index 076788836..3f098d396 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -719,6 +719,7 @@ void ggml_metal_graph_compute( GGML_ASSERT(ne00 == ne10); // GGML_ASSERT(ne02 == ne12); // Should be checked on individual data types until broadcast is implemented everywhere + GGML_ASSERT(ne03 == ne13); if (ggml_is_contiguous(src0) && ggml_is_contiguous(src1) &&