mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1277] [MERGED] [TENT] Add backward compatibility with TE #2126
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#2126
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/1277
Author: @alogfans
Created: 12/25/2025
Status: ✅ Merged
Merged: 12/30/2025
Merged by: @alogfans
Base:
main← Head:seperate-python-api📝 Commits (10+)
8d74977[TE] Add TENT to main branch: Phase 113dad17Fix CI issues59facb1Apply suggestions from code reviewfc6d676Fix build bug5ce1deaUpdate code format9fa0756Fix code format issue628843fdisable building Mooncake TENT by default262e453Code reformat65a0be2Revise benchmark code and add docsb57afb9format bench code📊 Changes
20 files changed (+2329 additions, -937 deletions)
View changed files
📝
mooncake-transfer-engine/benchmark/te_backend.cpp(+1 -1)📝
mooncake-transfer-engine/benchmark/te_backend.h(+1 -1)📝
mooncake-transfer-engine/include/transfer_engine.h(+48 -270)➕
mooncake-transfer-engine/include/transfer_engine_impl.h(+272 -0)📝
mooncake-transfer-engine/include/transport/transport.h(+1 -0)📝
mooncake-transfer-engine/src/CMakeLists.txt(+5 -0)📝
mooncake-transfer-engine/src/transfer_engine.cpp(+471 -651)➕
mooncake-transfer-engine/src/transfer_engine_impl.cpp(+623 -0)📝
mooncake-transfer-engine/tent/include/tent/common/types.h(+5 -1)📝
mooncake-transfer-engine/tent/include/tent/runtime/transfer_engine_impl.h(+6 -0)📝
mooncake-transfer-engine/tent/include/tent/transfer_engine.h(+12 -3)📝
mooncake-transfer-engine/tent/src/CMakeLists.txt(+1 -0)📝
mooncake-transfer-engine/tent/src/platform/cpu_probe.cpp(+6 -0)📝
mooncake-transfer-engine/tent/src/platform/cuda/cuda_probe.cpp(+0 -2)➕
mooncake-transfer-engine/tent/src/python/CMakeLists.txt(+28 -0)➕
mooncake-transfer-engine/tent/src/python/pybind.cpp(+731 -0)📝
mooncake-transfer-engine/tent/src/runtime/control_plane.cpp(+13 -4)📝
mooncake-transfer-engine/tent/src/runtime/transfer_engine_impl.cpp(+64 -1)📝
mooncake-transfer-engine/tent/src/transfer_engine.cpp(+6 -0)📝
mooncake-transfer-engine/tent/src/transfer_engine_c.cpp(+35 -3)📄 Description
Description
This patch adds backward compatibility support for TENT, allowing users to leverage TENT through existing APIs without (in most cases) requiring code changes.
To enable this, you should compile with -DUSE_TENT=ON, and add environment variable MC_USE_TENT=1 at startup.
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.