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

feat: pass the max_lora_rank parameter to vLLM backend #3794

Merged
merged 2 commits into from
May 17, 2024

Conversation

jue-jue-zi
Copy link
Contributor

What does this PR do?

If the user train the llm with lora with lora rank greater than 16, the vLLM backend will fail to process with the error: ValueError: LoRA rank XXX is greater than max_lora_rank 16. This commit pass the max_lora_rank parameter to vLLM backend to support a higher lora rank (currently up to 64 due to the vLLM constraints).

@hiyouga hiyouga self-requested a review May 17, 2024 08:14
@hiyouga
Copy link
Owner

hiyouga commented May 17, 2024

LGTM!

@hiyouga hiyouga merged commit d7ff49f into hiyouga:main May 17, 2024
1 check passed
@hiyouga hiyouga added the solved This problem has been already solved label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants