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

[BugFix] Typing fixes to RequestOutput.prompt and beam search #9473

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

njhill
Copy link
Member

@njhill njhill commented Oct 17, 2024

This reverts a recent typing change that was made in #9267 which was due to another recent incorrect change in the "external" beam search implementation. It would be a breaking change to the type of RequestOutput.prompt in the API (and caused some typing breakages to the front-end API code which references this field).

I have made some related changes/fixes to the beam search impl including properly returning logprobs, but it still needs quite a bit more work overall (for subsequent PRs).

This reverts a recent typing change that was made in vllm-project#9267 which was due to another recent incorrect change in the "external" beam search implementation. It would be a breaking change to the type of RequestOutput.prompt in the API (and caused some typing breakages to the front-end API code which references this field).

I have made some related changes/fixes to the beam search impl including properly returning logprobs, but it still needs quite a bit more work overall (for subsequent PRs).
@njhill njhill added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 17, 2024
Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Note however that PromptType will be used again in #9427.

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) October 18, 2024 02:51
@DarkLight1337 DarkLight1337 merged commit 1ffc8a7 into vllm-project:main Oct 18, 2024
71 of 72 checks passed
@njhill njhill deleted the fix-reqoutput-typing branch October 18, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants