-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Feature] Add LoRA support for embedding layers #14177
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
Fridge003
merged 25 commits into
sgl-project:main
from
yushengsu-thu:sglang-lora-emb-dev
Dec 9, 2025
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2766611
support lora emb: --disable-cuda-graph, without extra token, no tp
yushengsu-thu 04292bd
update
yushengsu-thu 377fd2d
refactor layers.py --> VocabParallelEmbeddingWithLoRA --> _run_lora_a…
yushengsu-thu 67452af
refactor
yushengsu-thu c90f75f
finish vocab_emb support and stii need to fix lm_head
yushengsu-thu 746b641
need to fix 1. lm_head 2. cuda-graph
yushengsu-thu 6332773
fixed lm_head issue
yushengsu-thu 53ab0d5
vocab_emb without cuda-graph version
yushengsu-thu 20b368e
support cuda-graph (triton backend)
yushengsu-thu f944d95
support cuda and no-cuda version; tokenizer (it added/extra tokens) s…
yushengsu-thu 9041521
cleaned code ([to-do] 1. TP support in mem_pool.py and layer.py; 2. t…
yushengsu-thu 261f96b
merge
yushengsu-thu 8119daf
update
yushengsu-thu b33c5e0
fix lora/layer.py
yushengsu-thu 10a099f
remove comments
yushengsu-thu 18a8f5b
remove chunked_backend and remove extra_tokens support temporarily
yushengsu-thu 2ad53c5
Merge remote-tracking branch 'upstream/main' into sglang-lora-emb-dev
yushengsu-thu e10980d
fix CI/CD
yushengsu-thu 4a67684
Merge remote-tracking branch 'upstream/main' into sglang-lora-emb-dev
yushengsu-thu 1610ce3
merge
yushengsu-thu 2ea8d2a
Merge remote-tracking branch 'upstream/main' into sglang-lora-emb-dev
yushengsu-thu f09852e
add nightly ci/cd: test_lora_hf_sgl_logprob_diff.py
yushengsu-thu 9529fa2
Merge remote-tracking branch 'upstream/main' into sglang-lora-emb-dev
yushengsu-thu 8d8ba29
update nightly ci/cd
yushengsu-thu 393f73a
Merge branch 'main' into sglang-lora-emb-dev
Fridge003 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
Oops, something went wrong.
Oops, something went wrong.
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.