]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : use two decimal places for float arg help messages (#19048)
authorDaniel Bevenius <redacted>
Sun, 25 Jan 2026 06:31:42 +0000 (07:31 +0100)
committerGitHub <redacted>
Sun, 25 Jan 2026 06:31:42 +0000 (07:31 +0100)
commit16639ba2178fc1ccbae912d678d8b515dc4dc322
tree67175d18c8af15a78a2ccd2294f23593539680e6
parent9981c3013018b1e955f2e44dbe514032496d3f6e
common : use two decimal places for float arg help messages (#19048)

* common : use two decimal places for float arg help messages

This commit updates the help messages for various command-line arguments
in arg.cpp to display floating-point default values with two decimal
places instead of one.

The motivation for this changes is that currently only having one decimal
place means that values generated using --help or llama-gen-docs will not
display the correct values.

For example, currently the value of top-p in tools/server/README.md is
`0.9`, but the default value is actually '0.95'. And running
llama-gen-docs does not update this value as it uses the output from the
help message, which shows only one decimal place, so the values look
like they are unchanged.

* docs : run llama-gen-docs to update docs
common/arg.cpp
tools/cli/README.md
tools/completion/README.md
tools/server/README.md