mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #511] [CLOSED] [Store] Python store API supports batch operation #1617
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1617
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/511
Author: @xinranwang17
Created: 6/17/2025
Status: ❌ Closed
Base:
main← Head:python-batch-api📝 Commits (2)
4286794Python store API supports batch operation2a4e266Update store_py.cpp📊 Changes
11 files changed (+377 additions, -24 deletions)
View changed files
📝
mooncake-integration/store/store_py.cpp(+225 -23)📝
mooncake-integration/store/store_py.h(+26 -0)📝
mooncake-store/include/client.h(+8 -0)📝
mooncake-store/include/master_client.h(+8 -0)📝
mooncake-store/include/master_service.h(+7 -0)📝
mooncake-store/include/rpc_service.h(+22 -1)📝
mooncake-store/proto/master.proto(+19 -0)📝
mooncake-store/src/client.cpp(+8 -0)📝
mooncake-store/src/master_client.cpp(+25 -0)📝
mooncake-store/src/master_service.cpp(+9 -0)📝
mooncake-store/tests/client_integration_test.cpp(+20 -0)📄 Description
This PR introduces batch APIs (put_batch, get_batch, is_batch_exist) in the Python module to accelerate data transfer. These APIs are concurrently utilized in the Mooncake store implementation as the L3 cache in SGLang.
Related PR in sglang
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.