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

fix(init): fix sendrecv fallback logic #629

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

aws-nslick
Copy link
Contributor

159bfed introduced changes to the way that initialization and protocol
selection works. This commit corrects some duplicated print statements
that refer to rdma when they meant to refer to sendrecv protocol, and
also ensures that the branch for doing first-stage sendrecv
initialization is taken in the case that RDMA initialization fails for
any reason, such that it can be used as a fallback. Also ensure that if
either the selected protocol string or the plugin is null, that
initialization is aborted rather than segfaulting.

Signed-off-by: Nicholas Sielicki [email protected]

159bfed introduced changes to the way that initialization and protocol
selection works. This commit corrects some duplicated print statements
that refer to rdma when they meant to refer to sendrecv protocol, and
also ensures that the branch for doing first-stage sendrecv
initialization is taken in the case that RDMA initialization fails for
any reason, such that it can be used as a fallback. Also ensure that if
either the selected protocol string or the plugin is null, that
initialization is aborted rather than segfaulting.

Signed-off-by: Nicholas Sielicki <[email protected]>
@aws-nslick aws-nslick requested a review from a team as a code owner September 28, 2024 01:02
@aws-nslick aws-nslick merged commit 25ae267 into aws:master Sep 28, 2024
31 checks passed
@aws-nslick aws-nslick deleted the two-stage-init-fixes branch September 28, 2024 11:25
aws-ofiwg-bot pushed a commit to aws-ofiwg-bot/aws-ofi-nccl that referenced this pull request Oct 4, 2024
159bfed introduced changes to the way that initialization and protocol
selection works. This commit corrects some duplicated print statements
that refer to rdma when they meant to refer to sendrecv protocol, and
also ensures that the branch for doing first-stage sendrecv
initialization is taken in the case that RDMA initialization fails for
any reason, such that it can be used as a fallback. Also ensure that if
either the selected protocol string or the plugin is null, that
initialization is aborted rather than segfaulting.

Signed-off-by: Nicholas Sielicki <[email protected]>
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