-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Fix beam search eos #9627
Fix beam search eos #9627
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:
🚀 |
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 @robertgshaw2-neuralmagic, this looks good as a quick fix. Hoping we can rework more of this soon.
Signed-off-by: Shanshan Wang <shanshan.wang@h2o.ai>
Signed-off-by: Shanshan Wang <shanshan.wang@h2o.ai>
Signed-off-by: qishuai <ferdinandzhong@gmail.com>
Signed-off-by: Randall Smith <Randall.Smith@amd.com>
Signed-off-by: NickLucche <nlucches@redhat.com>
Signed-off-by: NickLucche <nlucches@redhat.com>
Signed-off-by: Linkun Chen <github+anyscale@lkchen.net>
Signed-off-by: Sumit Dubey <sumit.dubey2@ibm.com>
Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
SUMMARY:
beam_search
via the api is including the eos token in the texttokenizer.decode(xxx, skip_special_tokens=True)
because this strips out all the special tokens in chat templates