mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #928] [Usage]: how to understand mooncake? #295
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#295
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 @Alan-D-Chen on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/928
Describe your usage question
Type A
This is a one-to-one PD disaggregated inference framework. Under this framework, the KVcache generated by GPU-a in the prefill node can only be transmitted to GPU-a in the decode node; in other words, GPU-a in the decode node can only access the memory of GPU-a in the prefill node.
Type B
This is a PD inference framework with a KVcache store. In this framework, the KVcache generated by the GPUs in the prefill node must first be transmitted to the KVcache store, and the framework will prioritize allocating the KVcache from the KVcache store to idle decode GPUs based on the busyness of the GPUs in the decode node.
May I ask which type of inference framework the mooncake belongs to?
In the P4D4 framework structure, the cache of prefill node 0 can only be accessed by decode node 0, rather than by "any arbitrary" decode node that can directly access the cache of prefill node 0, and it is not "shared across the entire cluster". Is my understanding correct?
Before submitting a new issue...
@Alan-D-Chen commented on GitHub (Oct 14, 2025):
I hope my question hasn't caused you too much trouble. We students are fascinated by the wisdom of the mooncake authors and have developed a great interest in it.
@tchaikov @misterwilliam @simpx @karya0
@stmatengss commented on GitHub (Oct 14, 2025):
The answer should be both, plz ref to this figure:
@Alan-D-Chen commented on GitHub (Oct 15, 2025):
@stmatengss Hello, thank you very much for your reply. May I ask where you saw these two pictures? In my understanding, mooncake is a PD disaggregated inference framework. However, from what it seems in the picture on your right, mooncake appears to be a plugin, and the mooncake store is integrated into the vLLM framework.
@stmatengss commented on GitHub (Oct 15, 2025):
You can understand each inference instance has a co-located client which occupies memory resources, and all these clients combined together can be abstracted as a mooncake store.
@github-actions[bot] commented on GitHub (Jun 22, 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 (Jun 29, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.