mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #130] [MERGED] Support multi-QP for normal kernels #440
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#440
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/deepseek-ai/DeepEP/pull/130
Author: @LyricZhao
Created: 4/22/2025
Status: ✅ Merged
Merged: 4/22/2025
Merged by: @LyricZhao
Base:
main← Head:trmt/internode_multi_qp📝 Commits (9)
5ab80c2In the Internode Normal Kernel, when using nvshmem ibrc for RDMA data transmission, a single QP is used for data transfer between two GPUs, which limits kernel performance in network card dual-port and RoCE network scenarios.e2c5784Revertibgda_device.cuhand remove some comments.e0eaaf9Add the performance data after internode optimization in the Readme filec07fdd1Merge branch 'trmt/internode_multi_qp' of github.com:deepseek-ai/DeepEP into trmt/internode_multi_qp20b2aaaRefactor some code.3e54b78Normal kernels always use IBGDA mode.edbb1bcSeveral code lints3b1045dFix the performance data.e255d57Useput_nbi_warp.📊 Changes
7 files changed (+82 additions, -62 deletions)
View changed files
📝
README.md(+4 -2)📝
csrc/kernels/ibgda_device.cuh(+17 -11)📝
csrc/kernels/internode.cu(+38 -26)📝
csrc/kernels/internode_ll.cu(+1 -1)📝
csrc/kernels/runtime.cu(+5 -7)📝
deep_ep/buffer.py(+11 -12)📝
tests/test_internode.py(+6 -3)📄 Description
This PR is authored by Tencent Network Platform Department. Thanks for the contribution! Now normal kernels have a huge speedup:
Through in-depth optimization, the following enhancements have been implemented in the internode normal kernels.
These improvements not only enhance the robustness of the internode normal kernels in scenarios involving dual-port NICs and RoCE networks but also further elevate communication performance.
NOTES: the bandwidth in the table is algorithm bandwidth, for physical bandwidth, e.g.
58 * 3/4 = 43.5.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.