feat: add collective communication for mccl - #63
Open
lqinfdim wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add collective communication support for the MCCL backend on MetaX GPUs.
This PR implements the MCCL adapters and bridge registrations for the
collective operations that are already exposed by the InfiniCCL public API.
Changes
MCCL API adapters
Broadcast,Reduce,ReduceScatter,AllGather,Gather,Scatter, andAllToAll.CclApiandCclTypeMapabstractions.Collective implementations
operations.
return status handling.
Tests and examples
examples/ccl/collectives.ccdemonstrating MCCL broadcast.Platform and Backend Affected
Platform
Backend
Performance Impact
This PR adds MCCL collective operation coverage and does not change the
implementation of existing collective operations on other backends.
Known Issues & Future Work
working MetaX/MCCL communicator initialization environment.
not modified by this PR.
Test Results
The following checks were run with MetaX and MCCL enabled:
examples/ccl/collectivesexample compiled successfully.ccl_collectives_implgit diff --checkpassed.Test Involved Platform
Test Involved Backend
Checklist
Title, Branch, and Commits
feat/mccl-collectives-20260818.fixup!,squash!, orwipcommits remain.Scope and Design
General Code Hygiene
git diff --checkpasses.C++ Specific
clang-formatversion 16 has been run locally.Testing
Build, CI, and Tooling
Documentation
backend implementation and example addition.
Security and Safety
identifiers were committed.