FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

server: add descriptions for rope/yarn settings by rumitvn · Pull Request #2305 · abetlen/llama-cpp-python · GitHub

server: add descriptions for rope/yarn settings - #2305

Open
rumitvn wants to merge 1 commit into
abetlen:mainfrom
rumitvn:docs/server-rope-yarn-descriptions
Open

server: add descriptions for rope/yarn settings#2305
rumitvn wants to merge 1 commit into
abetlen:mainfrom
rumitvn:docs/server-rope-yarn-descriptions

Conversation

rumitvn commented Jun 14, 2026

Copy link
Copy Markdown

Addresses #635

The rope_scaling_type and yarn_* fields in llama_cpp/server/settings.py had no description=, so they showed up blank in both:

  • python -m llama_cpp.server --help (argparse), and
  • the auto-generated server settings reference in the docs.

llama_cpp/server/cli.py forwards field.description straight into argparse help= (add_args_from_model), so filling these in fixes the CLI help and the rendered docs in one change.

Fields filled

rope_scaling_type, yarn_ext_factor, yarn_attn_factor, yarn_beta_fast, yarn_beta_slow, yarn_orig_ctx — wording mirrors llama.cpp's own RoPE/YaRN parameter help.

No behavior change; metadata only.

The `rope_scaling_type` and `yarn_*` server settings had no `description=`,
so they rendered blank in `python -m llama_cpp.server --help` and in the
auto-generated server settings reference (cli.py forwards `field.description`
to argparse `help=`). Fill in accurate descriptions.

Addresses abetlen#635
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL