mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #46] About num_qps_per_rank #45
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#45
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?
Originally created by @GitAlice123 on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/46
I notice that when Buffer is initialized, all modes (internode, intranode, low-latency) pass the parameter 'num_qps_per_rank', but it seems that only low-latency mode will use it in init. I wondered why?
@LyricZhao commented on GitHub (Mar 5, 2025):
Low-latency kernel will assign a QP for every local expert for extreme low issue overhead, while the number of QPs for normal kernels does not matter for performance.
@GitAlice123 commented on GitHub (Mar 5, 2025):
Is there any way to use multiple QPs in other modes (like internode)?
@LyricZhao commented on GitHub (Mar 5, 2025):
Yes, normal kernels follow the NVSHMEM environ vars, e.g. QP number
NVSHMEM_IBGDA_NUM_RC_PER_PE.For more settings, you can refer to https://docs.nvidia.com/nvshmem/api/gen/env.html.
@GitAlice123 commented on GitHub (Mar 6, 2025):
But NVSHMEM_IBGDA_NUM_RC_PER_PE is only used for IBGDA (by its name), in other modes we do not use IBGDA. Can I use this parameter to set the QP numbers?
@sphish commented on GitHub (Mar 6, 2025):
For the current version of NVSHMEM, each transport is fixed to use 1 QP per PE. It is not adjustable.
@miter6 commented on GitHub (Mar 21, 2025):
is there pr to fix it? We need to use dual-port RNIC in IBRC mode.
Maybe this guy, he's done the appeal.
https://github.com/deepseek-ai/DeepEP/issues/74#issuecomment-2735519635