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

[Unity][SWA] Overriding windowed cache support #15963

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

davidpissarra
Copy link
Contributor

Part of the effort on Sliding Window Attention (SWA) mlc-ai/mlc-llm#1003. Overriding the cache is useful when computing SWA, so we can have a more efficient cache only containing the current window keys and values. Once the cache is full we start overriding the older entries.

cc @tqchen

@github-actions github-actions bot requested a review from tqchen October 21, 2023 19:34
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