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

[Fix] Fix bugs in scheduler #1727

Merged
merged 7 commits into from
Nov 21, 2023
Merged

[Fix] Fix bugs in scheduler #1727

merged 7 commits into from
Nov 21, 2023

Conversation

linotfan
Copy link
Contributor

  1. Fixes llm.generate hangs for long prompt #1673 : If the number of GPU blocks a sequence group required exceeds the limit, it will never be scheduled and stay in the waiting queue forever.
  2. Fixes: 'seq_lens' could be empty, and 'max(seq_lens)' will raise an error.

@linotfan linotfan closed this Nov 20, 2023
@linotfan linotfan reopened this Nov 20, 2023
Copy link
Member

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

LGTM! The first bug is fixed in #1534 and I'll merge the second bug fix. Thank you for your contribution!

@zhuohan123 zhuohan123 merged commit 19849db into vllm-project:main Nov 21, 2023
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
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.

llm.generate hangs for long prompt
2 participants