-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin version v7 #122
Plugin version v7 #122
Conversation
removed old v4 version
#include "net_v6.h" | ||
#include "net_v5.h" | ||
#include "net_v4.h" | ||
|
||
#define NCCL_PLUGIN_SYMBOL ncclNetPlugin_v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be redefined to v7?
ncclResult_t pluginInit_v5(ncclDebugLogger_t logFunction); | ||
|
||
ncclNet_v7_t ncclNetPlugin_v7 = { | ||
"NCCL RDMA Plugin v7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think this name should be more descriptive? I see this is following the old pattern
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a temporary name. It is overwritten when the actual plugin (ib/ucx) is assigned in line no 88.
@@ -123,8 +123,8 @@ int ncclSharpAllGather(void *context, void *buf, int len) { | |||
|
|||
p2p_plugin = nccl_p2p_get_plugin_type(); | |||
if (p2p_plugin != NCCL_P2P_UCX) { | |||
NCCLCHECK(NCCL_PLUGIN_SYMBOL.regMr(cComm->recvComm, buf, cComm->nranks*len, NCCL_PTR_HOST, &rMhandle)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see, you just want to be explicit. Makes sense.
.name = "UCX", | ||
.init = nccl_ucx_init, | ||
.devices = nccl_ucx_devices, | ||
.getProperties = nccl_ucx_get_properties_v4, | ||
.getProperties = nccl_ucx_get_properties_v6, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be v5 or are you reusing v6 for v5 when it hasn't changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reusing
removed old v4 version