Repository navigation
server : add lora hotswap endpoint - #8857
Merged
Merged
Conversation
Collaborator
Author
|
self note: maybe wait for changes from #8823 and add the list of loaded lora to struct |
Collaborator
|
|
Collaborator
Author
|
I don't get what you mean. The option means "load the adapter to memory, but do not apply it right away" probably something like |
ggerganov
approved these changes
Aug 5, 2024
ngxson
marked this pull request as ready for review
August 6, 2024 11:45
Collaborator
Author
|
@ggerganov I added test and docs to this PR, plus adapt to change from #8823 Could you re-review this? Thank you. |
ggerganov
approved these changes
Aug 6, 2024
arthw
pushed a commit
to arthw/llama.cpp
that referenced
this pull request
Aug 7, 2024
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
2 of 7 tasks
This was referenced Aug 19, 2024
2 tasks done
Seunghhon
pushed a commit
to Seunghhon/llama.cpp
that referenced
this pull request
Apr 26, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
ljubomirj
pushed a commit
to ljubomirj/llama.cpp
that referenced
this pull request
May 6, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
my-other-github-account
pushed a commit
to my-other-github-account/llama.cpp
that referenced
this pull request
May 15, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
AlexiAlp
pushed a commit
to minghaop/llama.cpp
that referenced
this pull request
Jun 2, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
AlexiAlp
pushed a commit
to minghaop/llama.cpp
that referenced
this pull request
Jun 2, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
fukuro-kun
pushed a commit
to fukuro-kun/fukuro-llama-cpp-turboquant
that referenced
this pull request
Jul 5, 2026
* server : add lora hotswap endpoint * handle lora_no_apply * fix build * updae docs * clean up struct def * fix build * add LoRA test * fix style
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
New argument: --lora-init-without-apply
If
--lora-init-without-applyis specified, lora adapter will be loaded but not being apply withllama_init_from_gpt_params.User can apply it later with the
POST /lora-adaptersendpoint belowNew endpoints
GET
/lora-adaptersGet list of all adapters. If an adapter is disabled, the scale will be set to 0.
Response:
POST
/lora-adaptersSet list of adapters. To disable an adapter, either remove it from the list below, or set scale to 0.
Request:
Response: