Skip to content

Commit

Permalink
metal : remove invalid asserts (#7617)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 29, 2024
1 parent 975ec63 commit 55d6226
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions ggml-kompute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
3 changes: 0 additions & 3 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 55d6226

Please sign in to comment.