mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1353] [MERGED] [TE/HIP] Add stream and event pools for async transfer operations #2185
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#2185
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/1353
Author: @amd-arozanov
Created: 1/9/2026
Status: ✅ Merged
Merged: 1/12/2026
Merged by: @alogfans
Base:
main← Head:hip_multi_stream📝 Commits (1)
7d34677[TE/HIP] Add stream and event pools for async transfer operations📊 Changes
6 files changed (+491 additions, -39 deletions)
View changed files
➕
mooncake-transfer-engine/include/transport/hip_transport/event_pool.h(+62 -0)📝
mooncake-transfer-engine/include/transport/hip_transport/hip_transport.h(+19 -3)➕
mooncake-transfer-engine/include/transport/hip_transport/stream_pool.h(+54 -0)➕
mooncake-transfer-engine/src/transport/hip_transport/event_pool.cpp(+113 -0)📝
mooncake-transfer-engine/src/transport/hip_transport/hip_transport.cpp(+151 -36)➕
mooncake-transfer-engine/src/transport/hip_transport/stream_pool.cpp(+92 -0)📄 Description
Description
(AI assist)
This PR improves hip transport performance by using streams/events and enabling asynchronous data transfers across multiple streams. Each transfer in a batch executes on a separate stream, allowing multiple transfers to run concurrently on the GPU.
Changes:
Type of Change
How Has This Been Tested?
Ran transfer_engine_bench and transfer_engine_validator on the nodes with AMG GPU. Performance was checked by running transfer_engine_bench with different values of -batch_size parameter.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.