]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : skip model validation when --help is requested (#17755)
authorDaniel Bevenius <redacted>
Thu, 4 Dec 2025 12:36:50 +0000 (13:36 +0100)
committerGitHub <redacted>
Thu, 4 Dec 2025 12:36:50 +0000 (13:36 +0100)
commitbd4ef134763d81e251fd097019578f2df571dfef
tree15e0bc62870cba80be7ada27cac85076bfe758c9
parent87a2084c45188d54a554c305a397e778759545ed
common : skip model validation when --help is requested (#17755)

This commit skips the model validation check when the user specifies the
--help option.

The motivation for this is that currently and error is thrown before the
--help could be processed. Now skips validation if params.usage is set,
allowing help to display without requiring --model.

Resolves: https://github.com/ggml-org/llama.cpp/issues/17754
common/arg.cpp