mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1173] [MERGED] [EP] Implement elastic scaling up #2050
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#2050
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/1173
Author: @UNIDY2002
Created: 12/5/2025
Status: ✅ Merged
Merged: 12/22/2025
Merged by: @UNIDY2002
Base:
main← Head:sunxun/extend-dev📝 Commits (10+)
4b53d6cImplement elastic scaling up342cbc7Fixed a bugb13b293Debug9a636b4Debug28c2e5cFixed a buge7d8f26Enable debug1be2443Fixb25dd61Fixd02e227Fixbbf2936Format📊 Changes
9 files changed (+533 additions, -139 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -0)📝
docs/source/python-api-reference/ep-backend.md(+38 -1)📝
mooncake-ep/include/mooncake_backend.h(+21 -1)📝
mooncake-ep/include/mooncake_worker.cuh(+9 -6)📝
mooncake-ep/src/mooncake_backend.cpp(+214 -102)📝
mooncake-ep/src/mooncake_worker.cu(+62 -28)📝
mooncake-ep/src/mooncake_worker_thread.cpp(+18 -0)📝
mooncake-integration/ep/ep_py.cpp(+33 -1)➕
mooncake-wheel/tests/test_mooncake_backend_elastic.py(+137 -0)📄 Description
Description
This PR introduces support for elastically adding new ranks and recovering failed ranks to existing collective process groups, without recreating the process group.
There is a sample test file in mooncake-wheel/tests/test_mooncake_backend_elastic.py, showing the usage.
Type of Change
How Has This Been Tested?
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.