mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1257] [CLOSED] [Feature] Modify nvlink_allocator to enable nvlink intraNode transport in SGlang #2112
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#2112
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/1257
Author: @TTThanos
Created: 12/22/2025
Status: ❌ Closed
Base:
main← Head:NewFeature_H20_IntraNode📝 Commits (9)
3ab0df3Support Fallback strategy in AllocPinnedMemory in nvlink_transport which supports intraNode nvlink transmissionddb3a3fChange supportFabricMem logic to support fallback CudaMalloc when CuMemCreate file for Fabric handleefafeecRefine log print for cudaMallocfcafc52Define Macro to avoid build error in MUSA environment63e4e38Add cudaMalloc fallback in nvlink_allocator to support SGlang using intraNode nvlink transfer04d358bUse precommit to change the code formatbd31338Merge branch 'kvcache-ai:main' into NewFeature_H20_IntraNode4a0156bMerge remote-tracking branch 'origin/NewFeature_H20_IntraNode' into NewFeature_H20_IntraNode75f925bAdd log prefix to help identify the error📊 Changes
2 files changed (+61 additions, -4 deletions)
View changed files
📝
mooncake-transfer-engine/nvlink-allocator/nvlink_allocator.cpp(+56 -0)📝
mooncake-transfer-engine/src/transport/nvlink_transport/nvlink_transport.cpp(+5 -4)📄 Description
Description
Type of Change
How Has This Been Tested?
This change is a supplement to the previous PR (https://github.com/kvcache-ai/Mooncake/pull/1234#pullrequestreview-3600667790), enabling the NVLink allocator to have a fallback mechanism that uses cudaMalloc for GPU memory allocation. This ensures compatibility with SGlang's feature of using NVLink for intra-node communication.
Change has been tested using SGlang



nvlink data volume can be observed when using first 4 H20 cards as Prefill and rest of cards as Decode.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.