Skip to content

Commit 85de399

Browse files
authored
Merge branch 'ggml-org:master' into mradermacher
2 parents 47b8096 + bd4ef13 commit 85de399

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context
427427

428428
// model is required (except for server)
429429
// TODO @ngxson : maybe show a list of available models in CLI in this case
430-
if (params.model.path.empty() && ctx_arg.ex != LLAMA_EXAMPLE_SERVER) {
430+
if (params.model.path.empty() && ctx_arg.ex != LLAMA_EXAMPLE_SERVER && !params.usage) {
431431
throw std::invalid_argument("error: --model is required\n");
432432
}
433433

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)