Skip to content

Commit 87a2084

Browse files
authored
ggml-cpu : remove asserts always evaluating to false (#17728)
1 parent 3659aa2 commit 87a2084

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ggml/src/ggml-cpu/arch/arm/repack.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ void ggml_gemv_q4_K_8x4_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const vo
505505
constexpr int blocklen = 8;
506506

507507
assert(n % qk == 0);
508-
assert(nr % 4 == 0);
509508
assert(nc % ncols_interleaved == 0);
510509

511510
UNUSED(nb);
@@ -645,7 +644,6 @@ void ggml_gemv_q4_K_8x8_q8_K(int n,
645644
constexpr int blocklen = 8;
646645

647646
assert(n % qk == 0);
648-
assert(nr % 4 == 0);
649647
assert(nc % ncols_interleaved == 0);
650648

651649
UNUSED(nb);

0 commit comments

Comments
 (0)