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

Force paged attention v2 for long contexts #1510

Merged
merged 4 commits into from
Nov 1, 2023

Conversation

Yard1
Copy link
Collaborator

@Yard1 Yard1 commented Oct 30, 2023

Removes the hard limit on context length that was tied to paged attention v1 limitations and instead forces v2 to be used if the context cannot fit in shared memory.

@Yard1
Copy link
Collaborator Author

Yard1 commented Oct 30, 2023

cc @WoosukKwon

@WoosukKwon WoosukKwon self-requested a review October 31, 2023 04:48
@Yard1 Yard1 requested a review from WoosukKwon November 1, 2023 18:19
@Yard1 Yard1 requested a review from WoosukKwon November 1, 2023 23:16
Copy link
Collaborator

@WoosukKwon WoosukKwon 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!

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.

2 participants