Skip to content

arg : option to exclude arguments from specific examples - #11136

Merged
ggerganov merged 2 commits into
masterfrom
gg/arg-excludes
Jan 8, 2025
Merged

ggerganov merged 2 commits into
masterfrom
gg/arg-excludes

Conversation

@ggerganov

Copy link
Copy Markdown
Member

ref #8947 (comment)

The set_excludes({...}) method can be used to exclude a command-line argument from specific examples. For example, the --prompt argument is used in most examples, but it is not used by llama-server and it can be confusing since it does not print any error. With this change, it now prints an error:

llama-server --prompt "test" -m model.gguf
error: invalid argument: --prompt

@ggerganov
ggerganov requested a review from ngxson as a code owner January 8, 2025 09:28
@ggerganov
ggerganov merged commit a3c1232 into master Jan 8, 2025
@ggerganov
ggerganov deleted the gg/arg-excludes branch January 8, 2025 10:55
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
)

* arg : option to exclude arguments from specific examples

ggml-ci

* readme : remove old args [no ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants