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

[RFC]: Implement disaggregated prefilling using Mooncake #10727

Open
1 task done
alogfans opened this issue Nov 28, 2024 · 1 comment
Open
1 task done

[RFC]: Implement disaggregated prefilling using Mooncake #10727

alogfans opened this issue Nov 28, 2024 · 1 comment
Labels
RFC stale Over 90 days of inactivity

Comments

@alogfans
Copy link

Motivation.

Disaggregated prefilling/decoding is expected to achieve better performance (e.g., long documents) in LLM inference. #5557 proposes a good paradigm.

In addition, the Transfer Engine of Mooncake, which is a KVCache-centric disaggregated architecture for LLM serving, is open-sourced.

Compared with NCCL, Mooncake Transfer Engine has the following features:

  • a unified programming interface for data transfers between DRAM-to-DRAM (both local and remote), DRAM-to-GPU VRAM (both local and remote), and DRAM-to-remote NVMe devices
  • support for TCP, RDMA, and NVMe-of protocols
  • topology-aware path selection (link to our english doc, transfer_engine.md), aggregating bandwidth from multiple NICs

Proposed Change.

The plan is to integrate vLLM with Mooncake. Initially we have implemented a prototype that replaces nccl with Transfer Engine in the data plane. In the future, we are planning to develop Mooncake Store to fully support disaggregated prefilling (M prefill & N decode) and make it ready for production. Mooncake's architecture is here.

Feel free to use our prototype and comment about our design!

Feedback Period.

Several weeks

CC List.

@ShangmingCai @stmatengss @james0zan

Any Other Things.

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@alogfans alogfans added the RFC label Nov 28, 2024
@alogfans alogfans changed the title [RFC]: Implement disaggregated prefilling using Mooncake Transfer Engine [RFC]: Implement disaggregated prefilling using Mooncake Nov 28, 2024
Copy link

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!

@github-actions github-actions bot added the stale Over 90 days of inactivity label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC stale Over 90 days of inactivity
Projects
None yet
Development

No branches or pull requests

1 participant