Skip to content

Conversation

@danbev
Copy link
Member

@danbev danbev commented Jan 23, 2026

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.

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.
Copy link
Collaborator

@CISC CISC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update docs.

@danbev danbev merged commit 16639ba into ggml-org:master Jan 25, 2026
77 of 78 checks passed
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.

3 participants