Repository navigation
Conversation
Ying1123
marked this pull request as draft
September 3, 2024 01:04
15 of 29 tasks
Ying1123
force-pushed
the
new_lora
branch
21 times, most recently
from
September 11, 2024 07:33
7092431 to
ff5f51d
Compare
Ying1123
marked this pull request as ready for review
September 11, 2024 09:03
Contributor
|
Tested and looks great! |
Ying1123
force-pushed
the
new_lora
branch
7 times, most recently
from
September 12, 2024 20:26
f639a8d to
59b1385
Compare
2 of 11 tasks
This was referenced Oct 16, 2024
Contributor
|
@Ying1123 @merrymercy python3 -m sglang.launch_server --model-path /base_model --tokenizer-path /base_model --lora-paths /lora_model0 /lora_model1 --disable-radix --disable-cuda-graph --max-loras-per-batch 2 --mem-fraction-static 0.5 --random-seed 0 --enable-torch-compileAttributeError: 'Gemma2ForCausalLM' object has no attribute 'get_module_name' Related issues: #1416 Resolved PR: #2330 (comment) |
|
@Ying1123 Does this feature support multimodal models such as Qwen2-VL? Currently vLLM does not support this. |
1 of 3 tasks
Closed
23 of 26 tasks
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
8 of 17 tasks
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.
This PR gives initial multi-LoRA serving support. Currently, it supports LoRA on attention (
qkvo) and mlp (gate, up, down) linear layers. It supports dynamic loading and offloading, but it does not support unified memory. The memory pool for LoRA adapters is pre-allocated. Please use a smaller--mem-fracto launch server with larger--max-loras-per-batch.Current example usage:
You can expect the items below in the follow-up PRs.
References:
S-LoRA: Serving Thousands of Concurrent LoRA Adapters
Punica: Multi-Tenant LoRA Serving