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

Add the logit_bias option in API serving #6444

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MrZhengXin
Copy link

What does this PR do?

In chat serving, apart from the usual parameters, logit_bias is not included yet.
See https://github.com/vllm-project/vllm/blob/9832e5572a602967beac0ccb8a4eb65bc18478a3/vllm/sampling_params.py#L163 and https://platform.openai.com/docs/api-reference/completions/create#completions-create-logit_bias.

Before submitting

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.

1 participant