Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server : add more env vars, improve gen-docs #9635

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented Sep 25, 2024

This PR brings more env vars to server. It also improve the output format of gen-docs.

One thing that I wanted to add is this PR was the ability to use env var for repeated args, for example --lora can be repeated multiple times to use multiple LoRA adapters. Same for --override-kv and --control-vector. The idea was to add postfix _0, _1, _2,... to the env var. However, the implementation turns out to be more complicated than I though, so it will be a follow up PR.


@ngxson ngxson merged commit afbbfaa into ggerganov:master Sep 25, 2024
53 checks passed
dsx1986 pushed a commit to dsx1986/llama.cpp that referenced this pull request Oct 29, 2024
* server : add more env vars, improve gen-docs

* update server docs

* LLAMA_ARG_NO_CONTEXT_SHIFT
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