Skip to content
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

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Plugin version v7 #122

merged 1 commit into from
Sep 28, 2023

Conversation

bureddy
Copy link
Collaborator

@bureddy bureddy commented Sep 28, 2023

removed old v4 version

removed old v4 version
#include "net_v6.h"
#include "net_v5.h"
#include "net_v4.h"

#define NCCL_PLUGIN_SYMBOL ncclNetPlugin_v6

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",

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

Copy link
Collaborator Author

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));

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,

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reusing

@bureddy bureddy merged commit 8a2ef11 into Mellanox:master Sep 28, 2023
5 checks passed
@bureddy bureddy deleted the v7 branch September 28, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants