mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #704] [MERGED] Add ability to do RDMA without nvidia-peermem #1758
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#1758
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/704
Author: @misterwilliam
Created: 7/31/2025
Status: ✅ Merged
Merged: 8/9/2025
Merged by: @stmatengss
Base:
main← Head:main📝 Commits (1)
d68b4e8Add ability to do RDMA without nvidia-peermem📊 Changes
3 files changed (+92 additions, -17 deletions)
View changed files
📝
mooncake-common/common.cmake(+6 -2)📝
mooncake-transfer-engine/include/transport/rdma_transport/rdma_context.h(+8 -1)📝
mooncake-transfer-engine/src/transport/rdma_transport/rdma_context.cpp(+78 -14)📄 Description
Migrate from ibv_reg_mr() to ibv_reg_dmabuf_mr(). This allows us to not need nvidia-peermem for RDMA because ibv_reg_dmabuf_mr() does not require nvidia-peermem on nvidia GPUs while ibv_reg_mr() does require nvidia-peermem.
Need to introduce a new struct (MrMeta) to track starting address of MR because ibv_reg_dmabuf_mr() is iova based and doesn't set mr->address to starting address, so we need to track it ourselves.
Closes #674
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.