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

Support chunked prefill when radix cache is disabled #811

Merged
merged 9 commits into from
Aug 1, 2024
Merged

Conversation

hnyls2002
Copy link
Collaborator

Thank you for your contribution, we really appreciate it. The following instructions will help improve your pull request and make it easier to receive feedback. If there are any items you don't understand, don't worry. Just submit the pull request and ask the maintainers for help.

Motivation

Make cache an abstract class, which is more convenient for other types of caches than radix cache.

Modification

  • abstraction
  • chunked prefill cache

Checklist

  1. Ensure pre-commit pre-commit run --all-files or other linting tools are used to fix potential lint issues.
  2. Confirm that modifications are covered by complete unit tests. If not, please add more unit tests for correctness.
  3. Modify documentation as needed, such as docstrings or example tutorials.

@hnyls2002 hnyls2002 changed the title Cache refactor Support chunked prefill when radix cache is disabled Jul 31, 2024
@hnyls2002 hnyls2002 requested a review from Ying1123 August 1, 2024 07:25
@Ying1123 Ying1123 merged commit c020f9c into main Aug 1, 2024
3 checks passed
@Ying1123 Ying1123 deleted the update-cache branch August 1, 2024 07:29
@Ying1123 Ying1123 mentioned this pull request Aug 1, 2024
29 tasks
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