From: Georgi Gerganov Date: Wed, 29 May 2024 19:20:40 +0000 (+0300) Subject: metal : remove invalid asserts (llama/7617) X-Git-Tag: upstream/1.7.4~665 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e66e9ea25b7e4b03c7072af6effee3b2f988f992;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : remove invalid asserts (llama/7617) --- 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);