-
Notifications
You must be signed in to change notification settings - Fork 13k
aLoRA Support #15327
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
Merged
gabe-l-hart
merged 19 commits into
ggml-org:master
from
gabe-l-hart:gabe-l-hart/alora-support
Sep 5, 2025
Merged
aLoRA Support #15327
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5d42ca6
feat: Add python-side constants and conversion for adapter.lora.invoc…
gabe-l-hart a242ee8
feat: Add c++ side constants for adapter.lora.invocation_string
gabe-l-hart 4c214e4
feat: Parse invocation string for adapters from GGUF
gabe-l-hart 636bb2b
fix(python): Update conversion to alora_invocation_tokens
gabe-l-hart 215841f
fix(cpp): Update to alora_invocation_tokens on c++ side
gabe-l-hart 7212b9d
feat: Add C APIs to get alora invocation token array from lora
gabe-l-hart 45eab0d
feat: Initial implementation of alora cache logic in server
gabe-l-hart 457c757
feat: Identify alora invocation sequences
gabe-l-hart a5a75da
feat: Only reuse cache for tokens before the alora invocation start
gabe-l-hart b4a0cec
feat: Handle un-cached tokens that come before the alora activation
gabe-l-hart d03d106
fix: Use || instead of 'or'
gabe-l-hart 52b37e1
fix: Fix off-by-one for limiting cached tokens to before alora start
gabe-l-hart da2e8c1
fix: Support backwards-compatibility for "invocation_string" in adapt…
gabe-l-hart 37d0bd0
Merge remote-tracking branch 'origin/master' into gabe-l-hart/alora-s…
gabe-l-hart f863c9f
Merge remote-tracking branch 'origin/master' into gabe-l-hart/alora-s…
gabe-l-hart d8651c8
Merge remote-tracking branch 'origin/master' into gabe-l-hart/alora-s…
gabe-l-hart 5958557
fix: Remove duplicate logging
gabe-l-hart a29364d
Merge remote-tracking branch 'origin/master' into gabe-l-hart/alora-s…
gabe-l-hart 5647676
feat: Report alora_invocation_string and alora_invocation_tokens from…
gabe-l-hart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.