-
Notifications
You must be signed in to change notification settings - Fork 434
[Feature] AIBrix KVCache L2Cache Part3 and KVCache Managers #1064
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
[Feature] AIBrix KVCache L2Cache Part3 and KVCache Managers #1064
Conversation
- L2Cache - Unit test Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
- KVCacheManager and GroupAwareKVCacheManager - Unit tests Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
8042e42
to
a0d0fc7
Compare
@@ -8,8 +8,6 @@ license-files = ["LICENSE"] | |||
readme = "README.md" | |||
repository = "https://github.com/vllm-project/aibrix/tree/main/python/aibrix_kvcache" | |||
classifiers = [ | |||
"Programming Language :: Python :: 3.9", | |||
"Programming Language :: Python :: 3.10", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python 3.10 is not compatible? I see last PR 3.10 originally failed as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Last PR failed due to the
fakeredis
library (mocking redis server) used in testing the mete service module is not compatible with python 3.10, so I made pytest skip the related tests if using python 3.10. - In this PR, L2Cache uses asyncio.TaskGroup which is available since python 3.11. We could fix this compatibility issue in a separate PR.
itertools.batched
is also not compatible with 3.10 and 3.11, found a quick way to fix it, will push the changes soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
a0d0fc7
to
6b60874
Compare
We use several modules available since python 3.11 in L2Cache. Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
6b60874
to
bc7ad67
Compare
…ject#1064) * [Feature] AIBrix KVCache L2Cache Part3 - L2Cache - Unit test * [Feature] AIBrix KVCache Manager - KVCacheManager and GroupAwareKVCacheManager - Unit tests * [CI]: add kvcache in release workflow * [Chore] remove python 3.9 and 3.10 We use several modules available since python 3.11 in L2Cache. --------- Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com> Co-authored-by: Haiyang Shi <haiyang.shi@bytedance.com>
Pull Request Description
This PR includes all the rest changes of the AIBrix KVCache feature.
Related Issues
Resolves: #[Insert issue number(s)]
Important: Before submitting, please complete the description above and review the checklist below.
Contribution Guidelines (Expand for Details)
We appreciate your contribution to aibrix! To ensure a smooth review process and maintain high code quality, please adhere to the following guidelines:
Pull Request Title Format
Your PR title should start with one of these prefixes to indicate the nature of the change:
[Bug]
: Corrections to existing functionality[CI]
: Changes to build process or CI pipeline[Docs]
: Updates or additions to documentation[API]
: Modifications to aibrix's API or interface[CLI]
: Changes or additions to the Command Line Interface[Misc]
: For changes not covered above (use sparingly)Note: For changes spanning multiple categories, use multiple prefixes in order of importance.
Submission Checklist
By submitting this PR, you confirm that you've read these guidelines and your changes align with the project's contribution standards.