mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1259] [MERGED] add MC_FORCE_HCA environment variable to force use rdma #2113
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#2113
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/1259
Author: @baymaxhuang
Created: 12/22/2025
Status: ✅ Merged
Merged: 12/23/2025
Merged by: @stmatengss
Base:
main← Head:dev📝 Commits (3)
1b5fc28add MC_FORCE_HCA environment variable to force use rdma61dc71cUpdater for better readability4e0ce48fix clang-format problem📊 Changes
3 files changed (+10 additions, -2 deletions)
View changed files
📝
docs/source/design/transfer-engine/index.md(+1 -0)📝
docs/source/zh_archive/transfer-engine.md(+1 -0)📝
mooncake-transfer-engine/src/transfer_engine.cpp(+8 -2)📄 Description
Description
In production environment, RDAM is usually needed to provide an efficent transport. But when a user provides a wrong HCA list, mooncake transport will be fallback to TCP. It will cause some unexpected performace problem. In this patch, we add a new environment varible to force to use RDMA as the active transport, it will return error if no HCA has been found.
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.