mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1098] [MERGED] [EP] Support multiple torch versions #2010
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#2010
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/1098
Author: @UNIDY2002
Created: 11/24/2025
Status: ✅ Merged
Merged: 11/28/2025
Merged by: @ShangmingCai
Base:
main← Head:sunxun/torch-version-fix📝 Commits (10+)
83d81e3Debug7dcaf49Debugca3c750Debug8c99d18Debugf013611Debug115cadaDebug122980eDebugb4cfb10Debuged4fd4cDebug9e89267Debug📊 Changes
9 files changed (+89 additions, -60 deletions)
View changed files
📝
.github/workflows/ci.yml(+2 -1)📝
.github/workflows/release-non-cuda.yaml(+0 -1)📝
.github/workflows/release.yaml(+2 -1)📝
CMakeLists.txt(+1 -3)➕
mooncake-ep/setup.py(+46 -0)📝
mooncake-integration/ep/ep_py.cpp(+1 -6)➕
mooncake-wheel/mooncake/ep.py(+16 -0)📝
mooncake-wheel/setup.py(+4 -38)📝
scripts/build_wheel.sh(+17 -10)📄 Description
Description
Build the Mooncake EP Backend's dynamic library against various torch versions.
Switch to setuptools to build Mooncake EP.
In addition, strip debug info for Mooncake EP to optimize wheel size (each version consumes 1.9 MB, which is acceptable).
Type of Change
How Has This Been Tested?
Build the library and use it with different torch versions. The unit tests related to EP & Backend should always pass. E2E test should also pass.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.