mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #799] [Feature Request]: Zero copy for get_tensor Mooncake store Python API #244
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#244
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?
Originally created by @jerrychenhf on GitHub (Sep 2, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/799
Describe your feature request
The current get_tensor implementation first get data to local buffer and then copy the data buffer to a newly allocated buffer. And then created a pytorch tensor using the new buffer.
The copy can be avoided by directly allocating the buffer with desired size and register the buffer for transfer engine. And get the data directly into the allocated buffer.
Before submitting a new issue...
@github-actions[bot] commented on GitHub (Jun 27, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Jul 5, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.