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 eager mode performance #2377

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Fix eager mode performance #2377

merged 1 commit into from
Jan 8, 2024

Conversation

WoosukKwon
Copy link
Collaborator

@WoosukKwon WoosukKwon commented Jan 8, 2024

This PR fixes the performance issue when using eager mode in a high-throughput setting. It turns out the performance bottleneck is because we pad the block tables excessively for every iteration.

Copy link
Collaborator

@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! Thanks for the fix!

@WoosukKwon WoosukKwon merged commit c884819 into main Jan 8, 2024
2 of 3 checks passed
@WoosukKwon WoosukKwon deleted the fix-eager-perf branch January 8, 2024 18:11
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Jan 18, 2024
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.

None yet

2 participants