-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bugfix]: Clamp -inf
logprob values in prompt_logprobs
#11073
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
-inf
logprob values in prompt_logprobs-inf
logprob values in prompt_logprobs
Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
058f878
to
32f8ba8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing!
…t#11073) Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com> Signed-off-by: Akshat Tripathi <akshat@krai.ai>
…t#11073) Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
…t#11073) Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
Logprobs with an
-inf
value are clamped to-9999.0
in other parts of the code but not here, resulting in a JSON compliance error in cases where thetop_k
sampling parameter is used too.Fixes #10234