Change top_k to be disabled with 0 (still accept -1 for now)#17773
Conversation
This better matches Hugging Face, the main other place `top_k` is used. Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run 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 either: Add 🚀 |
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
NickLucche
left a comment
There was a problem hiding this comment.
Thanks! I think this also better matches the behavior in V1
…llm-project#17773) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: 汪志鹏 <wangzhipeng628@gmail.com>
…llm-project#17773) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
…llm-project#17773) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…llm-project#17773) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Yuqi Zhang <yuqizhang@google.com>
…llm-project#17773) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This better matches Hugging Face, the main other place
top_kis used.Closes #17553.