Skip to content

Make ncclReduce/ncclSend/ncclRecv work#643

Merged
Binyang2014 merged 5 commits intomainfrom
binyli/fix
Oct 3, 2025
Merged

Make ncclReduce/ncclSend/ncclRecv work#643
Binyang2014 merged 5 commits intomainfrom
binyli/fix

Conversation

@Binyang2014
Copy link
Contributor

@Binyang2014 Binyang2014 commented Oct 2, 2025

Fallback to nccl for ncclReduce/ncclSend/ncclRecv

@Binyang2014 Binyang2014 marked this pull request as ready for review October 2, 2025 22:08
@Binyang2014 Binyang2014 requested review from caiomcbr, Copilot and seagater and removed request for seagater October 2, 2025 22:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements fallback functionality for ncclReduce, ncclSend, and ncclRecv operations by delegating to the underlying NCCL library when available. The changes enable these previously unimplemented functions to work by using dynamic library loading to call the corresponding NCCL functions.

Key changes:

  • Added function pointers and dynamic symbol loading for ncclReduce, ncclSend, ncclRecv, ncclGroupStart, and ncclGroupEnd
  • Implemented fallback logic in these functions to use NCCL when the shared library is loaded
  • Fixed broadcast parameter validation logic

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Binyang2014 and others added 2 commits October 2, 2025 15:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@caiomcbr caiomcbr left a comment

Choose a reason for hiding this comment

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

LGTM

@Binyang2014 Binyang2014 merged commit fe65c04 into main Oct 3, 2025
14 checks passed
@Binyang2014 Binyang2014 deleted the binyli/fix branch October 3, 2025 00:05
@Binyang2014 Binyang2014 restored the binyli/fix branch October 6, 2025 20:08
@Binyang2014 Binyang2014 deleted the binyli/fix branch February 6, 2026 06: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