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

Support LoRA in Completion API #2243

Merged
merged 3 commits into from
Nov 30, 2024
Merged

Support LoRA in Completion API #2243

merged 3 commits into from
Nov 30, 2024

Conversation

bjmsong
Copy link
Contributor

@bjmsong bjmsong commented Nov 28, 2024

Motivation

relate to this issue

Usage

python -m sglang.launch_server --model-path {model_path} --lora-paths lora0={lora_path} --disable-radix --disable-cuda-graph --max-loras-per-batch=4

python -m sglang.bench_serving --backend sglang-oai --model {model_path} --num-prompts 1 --lora-name lora0

Checklist

  • Format your code according to the Contributor Guide.
  • Add unit tests as outlined in the Contributor Guide.
  • Update documentation as needed, including docstrings or example tutorials.

@bjmsong bjmsong changed the title Support Lora in Completion API Support LoRA in Completion API Nov 28, 2024
@merrymercy merrymercy merged commit 01017d4 into sgl-project:main Nov 30, 2024
14 checks passed
@ccchow ccchow mentioned this pull request Dec 11, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants